Returns a formatted week day name.
(self, day, width)
| 321 | return ' '.join(self.formatday(d, wd, width) for (d, wd) in theweek) |
| 322 | |
| 323 | def formatweekday(self, day, width): |
| 324 | """ |
| 325 | Returns a formatted week day name. |
| 326 | """ |
| 327 | if width >= 9: |
| 328 | names = day_name |
| 329 | else: |
| 330 | names = day_abbr |
| 331 | return names[day][:width].center(width) |
| 332 | |
| 333 | def formatweekheader(self, width): |
| 334 | """ |
no test coverage detected