(self, dt)
| 6529 | return self._find_ti(dt, 0) |
| 6530 | |
| 6531 | def dst(self, dt): |
| 6532 | isdst = self._find_ti(dt, 1) |
| 6533 | # XXX: We cannot accurately determine the "save" value, |
| 6534 | # so let's return 1h whenever DST is in effect. Since |
| 6535 | # we don't use dst() in fromutc(), it is unlikely that |
| 6536 | # it will be needed for anything more than bool(dst()). |
| 6537 | return ZERO if isdst else HOUR |
| 6538 | |
| 6539 | def tzname(self, dt): |
| 6540 | return self._find_ti(dt, 2) |
no test coverage detected