pp108 : setAbbreviatedDayNames

setAbbreviatedDayNames


Sets the abbreviated month names for the corresponding locale

Syntax

localeObject.setAbbreviatedDayNames(names)

Parameters

Parameter

Description

names

Required. The month names.

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.setAbbreviatedDayNames("Sun Mon Tue Wed Thu Fri Sat");

See Also


Locale, Locales