getLocaleWeekEndRange

function

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]

Parameters

locale

Type: string.

Returns

[WeekDay, WeekDay]

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