Android Month Date Get getMonth(int month, Locale locale)

Here you can find the source of getMonth(int month, Locale locale)

Description

get Month

Declaration

@TargetApi(9)
    public static String getMonth(int month, Locale locale) 

Method Source Code

//package com.java2s;

import android.annotation.TargetApi;

import java.text.DateFormatSymbols;
import java.util.Locale;

public class Main {
    @TargetApi(9)
    public static String getMonth(int month, Locale locale) {
        return DateFormatSymbols.getInstance(locale).getMonths()[month - 1];
    }/*w ww.j av  a  2s.  c  om*/
}

Related

  1. getInterval(String beginMonth, String endMonth)
  2. monthOffset(Date date, int offset)
  3. getMonth()
  4. getCurrentMonth()
  5. getStringMonth(Date date)
  6. getMonthName(String substring)
  7. getEndCurrentMonth()
  8. getEndCurrentMonthCal()
  9. getStartCurrentMonth()