getLocaleDayPeriods

Periods of the day (e.g. [AM, PM] for en-US).

getLocaleDayPeriods(locale: string, formStyle: FormStyle, width: TranslationWidth): [string, string]

参数

locale

Type: string.

formStyle

Type: FormStyle.

width

Type: TranslationWidth.

返回值

[string, string]