getLocaleExtraDayPeriods
Retrieves locale-specific day periods, which indicate roughly how a day is broken up
in different languages.
For example, for en-US, periods are morning, noon, afternoon, evening, and midnight.
API
function getLocaleExtraDayPeriods( locale: string, formStyle: FormStyle, width: TranslationWidth): string[];
getLocaleExtraDayPeriods
string[]Retrieves locale-specific day periods, which indicate roughly how a day is broken up
in different languages.
For example, for en-US, periods are morning, noon, afternoon, evening, and midnight.
This functionality is only available when you have loaded the full locale data. See the "I18n guide".
stringA locale code for the locale format rules to use.
string[]Description
Retrieves locale-specific day periods, which indicate roughly how a day is broken up
in different languages.
For example, for en-US, periods are morning, noon, afternoon, evening, and midnight.
This functionality is only available when you have loaded the full locale data. See the "I18n guide".