Intl.common Class
Access point: ac.intl.* Internationalization addon
Item Index
Methods
Methods
formatDate
(
String
-
date
Returns local-specified date.
Parameters:
-
date
DateThe initial date to be formatted.
Returns:
String:
formatted data for language.
lang
(
String | Object
-
label
-
args
Returns translated string.
Parameters:
-
label
StringOptional. The initial label to be translated. If not provided, returns a copy of all resources.
-
args
String | Array | Objectoptional parameters for the string
Returns:
String | Object:
translated string for label or if no label was provided an object containing all resources.