Java Calendar Day day(Calendar calendar)

Here you can find the source of day(Calendar calendar)

Description

day

License

Open Source License

Declaration

public static int day(Calendar calendar) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Calendar;

public class Main {
    public static int day(Calendar calendar) {
        return calendar.get(Calendar.DAY_OF_MONTH);
    }/*from  w  w  w  .j  a va  2s  .co  m*/

    public static int day() {
        return Calendar.getInstance().get(Calendar.DAY_OF_MONTH);
    }
}

Related

  1. ceilAllLessThanDay(Calendar cal)
  2. convertEndOfDay(Calendar cal)
  3. copyCalendarDay(final Calendar src, final Calendar dest)
  4. createBeginningOfDay(Calendar calendar)
  5. date2day(Calendar cal)
  6. day(Calendar date)
  7. day2date(int day, Calendar cal)
  8. dayBegin(Calendar cal)
  9. dayBegin(Calendar calendar)