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