Return local time tuple compatible with time.localtime().
(self)
| 1851 | return cls(*(date_components + time_components)) |
| 1852 | |
| 1853 | def timetuple(self): |
| 1854 | "Return local time tuple compatible with time.localtime()." |
| 1855 | dst = self.dst() |
| 1856 | if dst is None: |
| 1857 | dst = -1 |
| 1858 | elif dst: |
| 1859 | dst = 1 |
| 1860 | else: |
| 1861 | dst = 0 |
| 1862 | return _build_struct_time(self.year, self.month, self.day, |
| 1863 | self.hour, self.minute, self.second, |
| 1864 | dst) |
| 1865 | |
| 1866 | def _mktime(self): |
| 1867 | """Return integer POSIX timestamp.""" |
nothing calls this directly
no test coverage detected