docs: def from_years_range(start_year, end_year):
          """Transform a range of years (two ints) to a DateRange object."""
          start = datetime.date(start_year, 1 , 1)
          end = datetime.date(end_year, 12 , 31)
          return DateRange(start, end)