getLocaleDayPeriods
function
kullanımdan kaldırılmışv18'den beri
Retrieves day period strings for the given locale.
Deprecation warning
API
function getLocaleDayPeriods(
locale: string,
formStyle: FormStyle,
width: TranslationWidth,
): readonly [string, string];@paramlocale
stringA locale code for the locale format rules to use.
@returns
readonly [string, string]An array of localized period strings. For example, [AM, PM] for en-US.
Detaylara atla