(self)
| 125 | self.f_weekday = f_weekday |
| 126 | |
| 127 | def __calc_month(self): |
| 128 | # Set self.f_month and self.a_month using the calendar module. |
| 129 | a_month = [calendar.month_abbr[i].lower() for i in range(13)] |
| 130 | f_month = [calendar.month_name[i].lower() for i in range(13)] |
| 131 | self.a_month = a_month |
| 132 | self.f_month = f_month |
| 133 | |
| 134 | def __calc_am_pm(self): |
| 135 | # Set self.am_pm by using time.strftime(). |