Java Month Get getMonth(int month)

Here you can find the source of getMonth(int month)

Description

get Month

License

Open Source License

Declaration

public static String getMonth(int month) 

Method Source Code


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

import java.text.DateFormatSymbols;

public class Main {
    public static String getMonth(int month) {
        String[] monthnames = new DateFormatSymbols().getMonths();
        String strmonth = monthnames[month];
        return strmonth;
    }//from   w w  w  .jav  a2s  .  c  o  m
}

Related

  1. getMonth(Date date, TimeZone timeZone)
  2. getMonth(Date dt)
  3. getMonth(Date theDate)
  4. getMonth(int i)
  5. getMonth(int i)
  6. getMonth(int month)
  7. getMonth(Integer month)
  8. getMonth(long date, int increment)
  9. getMonth(long l)