docs: def to_json(self):
          """Get date time as a dictionary."""
          return {'year': self.year,
                  'month': self.month,
                  'day': self.day,
                  'hour': self.hour,
                  'minute': self.minute}