pp108 : getAbbreviatedMonthNames

getAbbreviatedMonthNames


Returns the abbreviated month names for the corresponding locale

Syntax

localeObject.getAbbreviatedMonthNames()

Parameters

NA

Return Value


Returns the abbreviated month names as an array with index starting from zero (0)

Example


The following example displays how this method is used.

importType("wcp.library.util.LocaleFormat");

importType("wcp.library.util.Locale");

var localeObject = new Locale(sLocale);//sLocale --> "en-US"
localeObject.getAbbreviatedMonthNames();//
Will return "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"
as an array for locale "en-US"

See Also


Locale, Locales