Return ctime() style string.
(self)
| 1018 | |
| 1019 | |
| 1020 | def ctime(self): |
| 1021 | "Return ctime() style string." |
| 1022 | weekday = self.toordinal() % 7 or 7 |
| 1023 | return "%s %s %2d 00:00:00 %04d" % ( |
| 1024 | _DAYNAMES[weekday], |
| 1025 | _MONTHNAMES[self._month], |
| 1026 | self._day, self._year) |
| 1027 | |
| 1028 | def strftime(self, fmt): |
| 1029 | """ |
no test coverage detected