getLocaleMonthNames
함수
사용 중단 권고v18.0부터
Retrieves months of the year for the given locale, using the Gregorian calendar.
사용 중단을 권고합니다.
API
function getLocaleMonthNames(
locale: string,
formStyle: FormStyle,
width: TranslationWidth,
): readonly string[];@paramlocale
stringA locale code for the locale format rules to use.
@returns
readonly string[]An array of localized name strings.
For example, [January, February, ...] for en-US.
상세 내용으로 이동