getLocaleDayPeriods
function
deprecatedsince v18
Retrieves day period strings for the given locale.
Deprecation warning
API
function getLocaleDayPeriods( locale: string, formStyle: FormStyle, width: TranslationWidth,): readonly [string, string];getLocaleDayPeriods
readonly [string, string]Retrieves day period strings for the given locale.
@paramlocale
stringA locale code for the locale format rules to use.
@returns
readonly [string, string]Jump to details