This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

getLocaleDayPeriods

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

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

Parameters

locale

Type: string.

formStyle

Type: FormStyle.

width

Type: TranslationWidth.

Returns

[string, string]