pp108 : getLongTimeFormat

getLongTimeFormat


Returns the long time format for the corresponding locale

Syntax

localeObject.getLongTimeFormat()

Parameters

NA

Return Value


Returns the long time format

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.getLongTimeFormat();//Will set "hh:mm:ss tt" for locale "en-US"

See Also


Locale, Locales