| npm Package | @angular/common |
|---|---|
| Module | import { getLocaleEraNames } from '@angular/common'; |
| Source | common/src/i18n/locale_data_api.ts |
function getLocaleEraNames(locale: string, width: TranslationWidth): [string, string];
Eras for the Gregorian calendar (e.g. AD/BC).