Return day of the week, where Monday == 0 ... Sunday == 6.
(self)
| 1246 | return NotImplemented |
| 1247 | |
| 1248 | def weekday(self): |
| 1249 | "Return day of the week, where Monday == 0 ... Sunday == 6." |
| 1250 | return (self.toordinal() + 6) % 7 |
| 1251 | |
| 1252 | # Day-of-the-week and week-of-the-year, according to ISO |
| 1253 |