Here you can find the source of getMonth(int month)
public static String getMonth(int month)
//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 }