Return the timezone offset as timedelta positive east of UTC (negative west of UTC).
(self)
| 2059 | return _strptime._strptime_datetime(cls, date_string, format) |
| 2060 | |
| 2061 | def utcoffset(self): |
| 2062 | """Return the timezone offset as timedelta positive east of UTC (negative west of |
| 2063 | UTC).""" |
| 2064 | if self._tzinfo is None: |
| 2065 | return None |
| 2066 | offset = self._tzinfo.utcoffset(self) |
| 2067 | _check_utc_offset("utcoffset", offset) |
| 2068 | return offset |
| 2069 | |
| 2070 | def tzname(self): |
| 2071 | """Return the timezone name. |
no test coverage detected