getAbbreviatedMonthName |
Returns the abbreviated month name in the index for the corresponding locale
Syntax
localeObject.getAbbreviatedMonthName(month)
Parameters
Parameter |
Description |
---|---|
month |
Required. The index of the month. |
Return Value
Abbreviated month name
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.getAbbreviatedMonthName(2);//Will set "Mar" for locale "en-US"