@angular/common

getLocaleExtraDayPeriods

function
Deprecated

Retrieves locale-specific day periods, which indicate roughly how a day is broken up in different languages. For example, for en-US, periods are morning, noon, afternoon, evening, and midnight.

getLocaleExtraDayPeriods(
locale: string,
formStyle: FormStyle,
width: TranslationWidth
): string[];
Jump to details