def to_json(self):
return {<EOL>'<STR_LIT>': self.st_month,<EOL>'<STR_LIT>': self.st_day,<EOL>'<STR_LIT>': self.st_hour,<EOL>'<STR_LIT>': self.end_month,<EOL>'<STR_LIT>': self.end_day,<EOL>'<STR_LIT>': self.end_hour,<EOL>'<STR_LIT>': self.timestep,<EOL>'<STR_LIT>': self.is_leap_year<EOL>}<EOL>
Convert the analysis period to a dictionary.