Help Angular by taking a 1 minute survey!Go to surveyHome

getLocaleWeekEndRange

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