Return day of the week, where Monday == 0 ... Sunday == 6.
(self)
| 1158 | return NotImplemented |
| 1159 | |
| 1160 | def weekday(self): |
| 1161 | "Return day of the week, where Monday == 0 ... Sunday == 6." |
| 1162 | return (self.toordinal() + 6) % 7 |
| 1163 | |
| 1164 | # Day-of-the-week and week-of-the-year, according to ISO |
| 1165 |
no test coverage detected