Java Month Convert convertToMonth_long(int month)

Here you can find the source of convertToMonth_long(int month)

Description

convert To Montlong

License

Open Source License

Declaration

public static String convertToMonth_long(int month) 

Method Source Code

//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 "";
        }
    }
}

Related

  1. convertMonth(String value)
  2. convertMonthFromNumber(int month)
  3. convertMonthStringToInt(String monthString)
  4. ConvertNumToMonth(int mesEntrada)
  5. convertToAlphaMonth(final int importIntMonth)
  6. convertToNumericMonth(String importStrMonth)
  7. createFutureDate(int days, int months)
  8. differenceMonth(String strDate1, String strDate2)
  9. isCurMonth(String month)