Here you can find the source of convertDecimalToCharMonth(int month)
public static String convertDecimalToCharMonth(int month)
//package com.java2s; // modify it under the terms of the GNU General Public License public class Main { public static String convertDecimalToCharMonth(int month) { if (month == 1) return "Jan"; else if (month == 2) return "Feb"; else if (month == 3) return "Mar"; else if (month == 4) return "Apr"; else if (month == 5) return "May"; else if (month == 6) return "Jun"; else if (month == 7) return "Jul"; else if (month == 8) return "Aug"; else if (month == 9) return "Sep"; else if (month == 10) return "Oct"; else if (month == 11) return "Nov"; else if (month == 12) return "Dec"; else/*w w w .j a v a 2s . c om*/ return month + ""; } }