Here you can find the source of convertToMonth_long(int month)
public static String convertToMonth_long(int month)
//package com.java2s; //License from project: Open Source License public class Main { public static String convertToMonth_long(int month) { switch (month) { case 1://from w w w . jav a 2s. c om return "January"; case 2: return "February"; case 3: return "March"; case 4: return "April"; case 5: return "May"; case 6: return "June"; case 7: return "July"; case 8: return "August"; case 9: return "September"; case 10: return "October"; case 11: return "November"; case 12: return "December"; default: return ""; } } }