Return local time tuple compatible with time.localtime().
(self)
| 1963 | return cls(*(date_components + time_components)) |
| 1964 | |
| 1965 | def timetuple(self): |
| 1966 | "Return local time tuple compatible with time.localtime()." |
| 1967 | dst = self.dst() |
| 1968 | if dst is None: |
| 1969 | dst = -1 |
| 1970 | elif dst: |
| 1971 | dst = 1 |
| 1972 | else: |
| 1973 | dst = 0 |
| 1974 | return _build_struct_time(self.year, self.month, self.day, |
| 1975 | self.hour, self.minute, self.second, |
| 1976 | dst) |
| 1977 | |
| 1978 | def _mktime(self): |
| 1979 | """Return integer POSIX timestamp.""" |
nothing calls this directly
no test coverage detected