Java Month Format formatMonth(int month)

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

Description

format Month

License

Open Source License

Declaration

public static String formatMonth(int month) 

Method Source Code

//package com.java2s;

public class Main {
    private static final String[] MONTH_FORMAT = { "January", "February", "March", "April", "May", "June", "July",
            "August", "September", "October", "November", "December" };

    public static String formatMonth(int month) {
        return MONTH_FORMAT[month];
    }//from   w  w  w.  ja  va 2s . co m
}

Related

  1. addMonths(String src, int addMonth, String format)
  2. formatMonth(Date date)
  3. formatMonth(Date date)
  4. formatMonth(final Date date)
  5. formatMonth(final int year, final int month)
  6. formatMonth(int month, Locale locale, boolean longFormat)
  7. formatMonth(String dateOrign)
  8. formatMonthDay(int decimal)
  9. formatMonthlyPeriod(String month)