This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

getLocaleMonthNames

Months of the year for the Gregorian calendar (e.g. [January, February, ...] for en-US).

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

Parameters

locale

Type: string.

formStyle

Type: FormStyle.

width

Type: TranslationWidth.

Returns

string[]