Return day of the week, where Monday == 0 ... Sunday == 6.
(self)
| 1231 | return NotImplemented |
| 1232 | |
| 1233 | def weekday(self): |
| 1234 | "Return day of the week, where Monday == 0 ... Sunday == 6." |
| 1235 | return (self.toordinal() + 6) % 7 |
| 1236 | |
| 1237 | # Day-of-the-week and week-of-the-year, according to ISO |
| 1238 |