getLocaleMonthNames
function
deprecatedsince v18
Retrieves months of the year for the given locale, using the Gregorian calendar.
API
function getLocaleMonthNames( locale: string, formStyle: FormStyle, width: TranslationWidth, ): readonly string[];
getLocaleMonthNames
readonly string[]
Retrieves months of the year for the given locale, using the Gregorian calendar.
@paramlocale
string
A locale code for the locale format rules to use.
@returns
readonly string[]
Jump to details