getLocaleExtraDayPeriods

Day Periods indicate roughly how the day is broken up in different languages (e.g. morning, noon, afternoon, midnight, ...). You should use the function getLocaleExtraDayPeriodRulesto determine which period to use. You should fallback to AM/PM when there are no day periods available.

查看"说明"...

getLocaleExtraDayPeriods(locale: string, formStyle: FormStyle, width: TranslationWidth): string[]
      
      getLocaleExtraDayPeriods(locale: string, formStyle: FormStyle, width: TranslationWidth): string[]
    
参数
locale string
formStyle FormStyle
width TranslationWidth
返回值

string[]

说明

Note: this is only available if you load the full locale data. See the "I18n guide" to know how to import additional locale data.