setPMDesignator |
Sets the PM designator for the corresponding locale
Syntax
localeObject.setPMDesignator(designator)
Parameters
Parameter |
Description |
---|---|
designator |
Required. The PM designator. |
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.setPMDesignator("pm");//Will set "pm" for locale "en-US"