Module Intl

Source

Structs§

Collator
The Intl.Collator object is a constructor for collators, objects that enable language sensitive string comparison.
DateTimeFormat
The Intl.DateTimeFormat object is a constructor for objects that enable language-sensitive date and time formatting.
NumberFormat
The Intl.NumberFormat object is a constructor for objects that enable language sensitive number formatting.
PluralRules
The Intl.PluralRules object is a constructor for objects that enable plural sensitive formatting and plural language rules.
RelativeTimeFormat
The Intl.RelativeTimeFormat object is a constructor for objects that enable language-sensitive relative time formatting.

Functions§

get_canonical_locales
The Intl.getCanonicalLocales() method returns an array containing the canonical locale names. Duplicates will be omitted and elements will be validated as structurally valid language tags.