getLocaleDayNames
function
kullanımdan kaldırılmışv18'den beri
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[];@paramlocale
stringA locale code for the locale format rules to use.
@returns
readonly string[]An array of localized name strings.
For example,[Sunday, Monday, ... Saturday] for en-US.
Detaylara atla