Android Calendar Get getDate(Calendar c)

Here you can find the source of getDate(Calendar c)

Description

get Date

Declaration

public static int getDate(Calendar c) 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {
    public static int getDate(Calendar c) {
        if (c != null) {
            return c.get(Calendar.DATE);
        } else {/*w  w w . j a v  a  2  s.  com*/
            return Calendar.getInstance().get(Calendar.DATE);
        }
    }
}

Related

  1. getCurrentWeek()
  2. getCurrentWeek()
  3. getCurrentWeek(Calendar cal)
  4. getDate()
  5. getDate()
  6. getDateAsDirName()
  7. getDateAsF()
  8. getDateAss()
  9. getDateMin()