pp108 : setAbbreviatedMonthNames

setAbbreviatedMonthNames


Sets the abbreviated month names for the corresponding locale

Syntax

localeObject.setAbbreviatedMonthNames(names)

Parameters

Parameter

Description

names

Required. The abbreviated month names separated with spaces.

Return Value


NA

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.setAbbreviatedMonthNames("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec");

See Also


Locale, Locales