pp108 : getPMDesignator

getPMDesignator


Returns the PM designator for the corresponding locale

Syntax

localeObject.getPMDesignator(separator)

Parameters

NA

Return Value


Returns the PM designator

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.getPMDesignator();//Will set "PM" for locale "en-US"

See Also


Locale, Locales