This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

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]
    

Parameters

locale

Type: string.

Returns

[WeekDay, WeekDay]