Java Month getEnMonth(String month)

Here you can find the source of getEnMonth(String month)

Description

get En Month

License

Open Source License

Declaration

public static final String getEnMonth(String month) 

Method Source Code

//package com.java2s;

public class Main {
    public static final String getEnMonth(String month) {
        if (month.equals("01") || month.equals("1")) {
            month = "January";
        } else if (month.equals("02") || month.equals("2")) {
            month = "Feburary";
        } else if (month.equals("03") || month.equals("3")) {
            month = "March";
        } else if (month.equals("04") || month.equals("4")) {
            month = "April";
        } else if (month.equals("05") || month.equals("5")) {
            month = "May";
        } else if (month.equals("06") || month.equals("6")) {
            month = "June";
        } else if (month.equals("07") || month.equals("7")) {
            month = "July";
        } else if (month.equals("08") || month.equals("8")) {
            month = "August";
        } else if (month.equals("09") || month.equals("9")) {
            month = "September";
        } else if (month.equals("10")) {
            month = "October";
        } else if (month.equals("11")) {
            month = "November";
        } else if (month.equals("12")) {
            month = "December";
        }/*from   w w  w  . j av  a 2s  .c  o  m*/
        return month;
    }
}

Related

  1. fixMonth(String m)
  2. getAllowMonth(String startdate, int count)
  3. getAssignMonth(String date)
  4. getCurrDateByMonth(String date)
  5. getEnligthMonth(String en)
  6. getFirstMonthByQuarter(int month)
  7. getFirstMonthOfQuarter(String quarter)
  8. getFiscalMonth(int month, int fiscalMonthOffset)
  9. getFrontMonth(String month)