getAMDesignator |
Returns the AM designator for the corresponding locale
Syntax
localeObject.getAMDesignator()
Parameters
NA
Return Value
Returns the AM 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.getAMDesignator();//Will return "AM" for locale "en-US"