def days_in_month(self): """ ???????? :return: """ return calendar.monthrange(self.year, self.month)[1]