code: def _gregorian_to_ssweek(date_value):
      "Sundaystarting-week year, week and day for the given  Gregorian calendar date"
      yearStart = _ssweek_year_start(date_value.year)
      weekNum = ((date_value - yearStart).days) // 7 + 1
      dayOfWeek = date_value.weekday()+1
      return (date_value.year, weekNum, dayOfWeekf _gregorian_to_ssweek(date_value):
      "Sundaystarting-week year, week and day for the given  Gregorian calendar date"
      yearStart = _ssweek_year_start(date_value.year)
      weekNum = ((date_value - yearStart).days) // 7 + 1
      dayOfWeek = date_value.weekday()+1
      return (date_value.year, weekNum, dayOfWeek)
docs: Sundaystarting-week year, week and day for the given  Gregorian calendar date