getLocaleWeekEndRange

From Get docs
< @angular/commonAngular/docs/10/api/common/getlocaleweekendrange /
Revision as of 02:07, 6 December 2021 by Notes (talk | contribs) (Page commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


getLocaleWeekEndRange

function

Range of week days that are considered the week-end for the given locale.

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

Parameters
locale string A locale code for the locale format rules to use.
Returns

[WeekDay, WeekDay]: The range of day values, [startDay, endDay].


See also


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/common/getLocaleWeekEndRange