getLocaleDayPeriods

function

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

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

Parameters

locale

Type: string.

formStyle

Type: FormStyle.

width

Type: TranslationWidth.

Returns

[string, string]

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/common/getLocaleDayPeriods