Return proleptic Gregorian ordinal for the year, month and day. January 1 of year 1 is day 1. Only the year, month and day values contribute to the result.
(self)
| 1078 | 0, 0, 0, -1) |
| 1079 | |
| 1080 | def toordinal(self): |
| 1081 | """Return proleptic Gregorian ordinal for the year, month and day. |
| 1082 | |
| 1083 | January 1 of year 1 is day 1. Only the year, month and day values |
| 1084 | contribute to the result. |
| 1085 | """ |
| 1086 | return _ymd2ord(self._year, self._month, self._day) |
| 1087 | |
| 1088 | def replace(self, year=None, month=None, day=None): |
| 1089 | """Return a new date with new values for the specified fields.""" |
no test coverage detected