Java tutorial
//package com.java2s; import java.text.DateFormatSymbols; public class Main { public static String getMonth(String monthNo) { DateFormatSymbols dfs = new DateFormatSymbols(); String[] months = dfs.getMonths(); return months[Integer.parseInt(monthNo) - 1]; } }