Return the data for the specified year ready for formatting (similar to yeardatescalendar()). Entries in the week lists are (day number, weekday number) tuples. Day numbers outside this month are zero.
(self, year, width=3)
| 327 | return [months[i:i+width] for i in range(0, len(months), width) ] |
| 328 | |
| 329 | def yeardays2calendar(self, year, width=3): |
| 330 | """ |
| 331 | Return the data for the specified year ready for formatting (similar to |
| 332 | yeardatescalendar()). Entries in the week lists are |
| 333 | (day number, weekday number) tuples. Day numbers outside this month are |
| 334 | zero. |
| 335 | """ |
| 336 | months = [self.monthdays2calendar(year, m) for m in Month] |
| 337 | return [months[i:i+width] for i in range(0, len(months), width) ] |
| 338 | |
| 339 | def yeardayscalendar(self, year, width=3): |
| 340 | """ |
no test coverage detected