(self, dt)
| 6716 | return self._find_ti(dt, 0) |
| 6717 | |
| 6718 | def dst(self, dt): |
| 6719 | isdst = self._find_ti(dt, 1) |
| 6720 | # XXX: We cannot accurately determine the "save" value, |
| 6721 | # so let's return 1h whenever DST is in effect. Since |
| 6722 | # we don't use dst() in fromutc(), it is unlikely that |
| 6723 | # it will be needed for anything more than bool(dst()). |
| 6724 | return ZERO if isdst else HOUR |
| 6725 | |
| 6726 | def tzname(self, dt): |
| 6727 | return self._find_ti(dt, 2) |
no test coverage detected