getLocaleWeekEndRange
在给定语言环境中被视为周末的工作日范围。
Range of week days that are considered the week-end for the given locale.
getLocaleWeekEndRange(locale: string): [WeekDay, WeekDay]
参数
locale | string | 用于要使用的语言环境格式规则的语言环境代码。 A locale code for the locale format rules to use. |
返回值
日期值的范围 [startDay, endDay]
。
[WeekDay, WeekDay]
: The range of day values, [startDay, endDay]
.