Lines Matching refs:days
44 # Number of days per month (except for February in leap years)
123 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) for
186 Like itermonthdates(), but will yield day numbers. For days outside
199 tuples. For days outside the specified month the day number is 0.
245 days = list(self.itermonthdays2(year, month))
246 return [ days[i:i+7] for i in range(0, len(days), 7) ]
251 Each row represents a week; days outside this month are zero.
253 days = list(self.itermonthdays(year, month))
254 return [ days[i:i+7] for i in range(0, len(days), 7) ]
261 days. Days are datetime.date objects.
314 s = '%2i' % day # right-align single-digit days
423 # CSS class for the days before and after current month
656 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
657 hours = days*24 + hour