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)
| 264 | yield y, m, d |
| 265 | |
| 266 | def itermonthdays4(self, year, month): |
| 267 | """ |
| 268 | Like itermonthdates(), but will yield (year, month, day, day_of_week) tuples. |
| 269 | Can be used for dates outside of datetime.date range. |
| 270 | """ |
| 271 | for i, (y, m, d) in enumerate(self.itermonthdays3(year, month)): |
| 272 | yield y, m, d, (self.firstweekday + i) % 7 |
| 273 | |
| 274 | def monthdatescalendar(self, year, month): |
| 275 | """ |