Here you can find the source of getMonthName(int monthNumber)
public static String getMonthName(int monthNumber)
//package com.java2s; //License from project: Apache License public class Main { /**// w w w . j ava2 s. com * The names of the months */ private static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }; public static String getMonthName(int monthNumber) { return months[monthNumber]; } }