mode_edit codeAPI / @angular/commongetLocaleEraNameslinkfunction 试验性的Eras for the Gregorian calendar (e.g. AD/BC).getLocaleEraNames(locale: string, width: TranslationWidth): [string, string]参数localeType: string.widthType: TranslationWidth.返回值[string, string]