Android Month String Get getShortMonthString(int month)

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

Description

get Short Month String

Declaration

public static String getShortMonthString(int month) 

Method Source Code

//package com.java2s;

public class Main {
    public static final String[] MONTHS_SHORT = { "Jan", "Feb", "Mar",
            "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };

    public static String getShortMonthString(int month) {
        return MONTHS_SHORT[month];
    }//  www  . j  a  v a 2s  . c  o m
}

Related

  1. getReadableMonth(int month)
  2. getCurrentMonth()
  3. getMonthNames()
  4. getMonthNames(Locale l, int len)
  5. getShortMonths()
  6. getLongMonthString(int month)
  7. GetMonthName(int month)
  8. intMonthToString(int month)