Here you can find the source of GetMonthName(int month)
public static String GetMonthName(int month)
//package com.java2s; public class Main { public static String GetMonthName(int month) { switch (month) { case 1://from www.j a va2 s. co m return "Jan"; case 2: return "Feb"; case 3: return "Mar"; case 4: return "Apr"; case 5: return "May"; case 6: return "June"; case 7: return "July"; case 8: return "Aug"; case 9: return "Sep"; case 10: return "Oct"; case 11: return "Nov"; case 12: return "Dec"; default: return "Jan"; } } }