code: def resolve_solar(self, year: int) -> date:
          
          if self.date_class == date:
              return self.resolve(year)
          else:
              solar_date = LCalendars.cast_date(self.resolve(year), date)
              offset = solar_date.year - year
              if offset:
                  solar_date = LCalendars.cast_date(self.resolve(year - offset), date)
              return solar_date
docs: Return the date object in a solar year.
          :param year:
          :return: