Returns a single week in a string (no newline).
(self, theweek, width)
| 369 | return s.center(width) |
| 370 | |
| 371 | def formatweek(self, theweek, width): |
| 372 | """ |
| 373 | Returns a single week in a string (no newline). |
| 374 | """ |
| 375 | return ' '.join(self.formatday(d, wd, width) for (d, wd) in theweek) |
| 376 | |
| 377 | def formatweekday(self, day, width): |
| 378 | """ |