getLocaleWeekEndRange

Range of days in the week that represent the week-end for this locale, based on english days (Sunday = 0, Monday = 1, ...). For example in english the value would be [6,0] for Saturday to Sunday.

getLocaleWeekEndRange(locale: string): [WeekDay, WeekDay]

参数

locale

Type: string.

返回值

[WeekDay, WeekDay]