getLocaleDayNames
function
deprecatedsince v18
Retrieves days of the week for the given locale, using the Gregorian calendar.
Deprecation warning
API
function getLocaleDayNames(
locale: string,
formStyle: FormStyle,
width: TranslationWidth,
): readonly string[];getLocaleDayNames
readonly string[]Retrieves days of the week for the given locale, using the Gregorian calendar.
@paramlocale
stringA locale code for the locale format rules to use.
@returns
readonly string[]Jump to details