@angular/common

getLocaleEraNames

function
Deprecated

Retrieves Gregorian-calendar eras for the given locale.

  
    getLocaleEraNames(  locale: string,  width: TranslationWidth): readonly [string, string];
  
  
Jump to details