docs: def duplicate(self):
          """Return a copy of the analysis period."""
          return AnalysisPeriod(self.st_month, self.st_day, self.st_hour,
                                self.end_month, self.end_day, self.end_hour,
                                self.timestep, self.is_leap_year)