Android Month Date Get getMonth()

Here you can find the source of getMonth()

Description

get Month

Declaration

public static int getMonth() 

Method Source Code

//package com.java2s;
import java.util.Calendar;

public class Main {
    public static int getMonth() {
        return Calendar.getInstance().get(Calendar.MONTH);
    }/*from  w w  w.  ja  va  2 s . c o  m*/
}

Related

  1. getMonthEndDate(Date date)
  2. getCurrentMonth()
  3. monthNumber()
  4. getInterval(String beginMonth, String endMonth)
  5. monthOffset(Date date, int offset)
  6. getCurrentMonth()
  7. getStringMonth(Date date)
  8. getMonth(int month, Locale locale)
  9. getMonthName(String substring)