getLocaleEraNames
function
Deprecated
Retrieves Gregorian-calendar eras for the given locale.
API
function getLocaleEraNames( locale: string, width: TranslationWidth): readonly [string, string];
getLocaleEraNames
readonly [string, string]
Retrieves Gregorian-calendar eras for the given locale.
@paramlocale
string
A locale code for the locale format rules to use.
@returns
readonly [string, string]
Jump to details