function getWeekendRange(localeData) {
  const startDay =
    localeData.get(`supplemental/weekData/weekendStart/${localeData.attributes.territory}`) ||
    localeData.get('supplemental/weekData/weekendStart/001');
  const endDay =
    localeData.get(`supplemental/weekData/weekendEnd/${localeData.attributes.territory}`) ||
    localeData.get('supplemental/weekData/weekendEnd/001');
  return [WEEK_DAYS.indexOf(startDay), WEEK_DAYS.indexOf(endDay)];
}
function getWeekendRange(localeData) {
  const startDay =
    localeData.get(`supplemental/weekData/weekendStart/${localeData.attributes.territory}`) ||
    localeData.get('supplemental/weekData/weekendStart/001');
  const endDay =
    localeData.get(`supplemental/weekData/weekendEnd/${localeData.attributes.territory}`) ||
    localeData.get('supplemental/weekData/weekendEnd/001');
  return [WEEK_DAYS.indexOf(startDay), WEEK_DAYS.indexOf(endDay)];
}
function getWeekendRange ( localeData ) { const startDay = localeData . get ( ` ${ localeData . attributes . territory } ` ) || localeData . get ( 'supplemental/weekData/weekendStart/001' ) ; const endDay = localeData . get ( ` ${ localeData . attributes . territory } ` ) || localeData . get ( 'supplemental/weekData/weekendEnd/001' ) ; return [ WEEK_DAYS . indexOf ( startDay ) , WEEK_DAYS . indexOf ( endDay ) ] ; }
Returns week-end range for a locale, based on US week days
@returns [number, number]
Returns week - end range for a locale based on US week days
Get weekend range