Java Calendar Month getMonth(Calendar calendar)

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

Description

get Month

License

Apache License

Declaration

static public int getMonth(Calendar calendar) 

Method Source Code

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

import java.util.Calendar;

public class Main {
    static public int getMonth(Calendar calendar) {
        return calendar.get(Calendar.MONTH);
    }//from w ww. j av a 2  s. c  o m
}

Related

  1. getLastDayOfMonth(Calendar c)
  2. getLastDayOfMonth(Calendar calendar)
  3. getLastMonthDays(Calendar c)
  4. getMonth(Calendar c)
  5. getMonth(Calendar cal)
  6. getMonthBegin(Calendar c)
  7. getMonthBegin(Calendar calendar)
  8. getMonthName(Calendar cal)
  9. getMonthStart(Calendar c)