Java Calendar Month month(Calendar date)

Here you can find the source of month(Calendar date)

Description

month

License

Apache License

Declaration

public static int month(Calendar date) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Calendar;

public class Main {
    public static int month(Calendar date) {
        return date.get(Calendar.MONTH) + 1;
    }// w  ww  .j a v a  2 s.com
}

Related

  1. incrementMonthByVal(Calendar theCal, int val)
  2. intToCalendarMonth(int month)
  3. isFirstDayOfMonth(Calendar calendar)
  4. lastDayOfMonth(Calendar c)
  5. month(Calendar calendar)
  6. numberOfDaysInMonth(Calendar cal)
  7. sameMonth(Calendar one, Calendar two)
  8. setDate(Calendar cal, int month, int date)
  9. setDate(Calendar cal, int month, int date, boolean endOfDay)