Like itermonthdates(), but will yield (year, month, day, day_of_week) tuples. Can be used for dates outside of datetime.date range.
(self, year, month)
| 283 | yield y, m, d |
| 284 | |
| 285 | def itermonthdays4(self, year, month): |
| 286 | """ |
| 287 | Like itermonthdates(), but will yield (year, month, day, day_of_week) tuples. |
| 288 | Can be used for dates outside of datetime.date range. |
| 289 | """ |
| 290 | for i, (y, m, d) in enumerate(self.itermonthdays3(year, month)): |
| 291 | yield y, m, d, (self.firstweekday + i) % 7 |
| 292 | |
| 293 | def monthdatescalendar(self, year, month): |
| 294 | """ |