code: def _end_of_decade(self):
          
          year = self.year - self.year % YEARS_PER_DECADE + YEARS_PER_DECADE - 1
  
          return self.set(year, 12, 31)
docs: Reset the date to the last day of the decade.
  
          :rtype: Date