Return the timezone offset as timedelta positive east of UTC (negative west of UTC).
(self)
| 2178 | return _strptime._strptime_datetime_datetime(cls, date_string, format) |
| 2179 | |
| 2180 | def utcoffset(self): |
| 2181 | """Return the timezone offset as timedelta positive east of UTC (negative west of |
| 2182 | UTC).""" |
| 2183 | if self._tzinfo is None: |
| 2184 | return None |
| 2185 | offset = self._tzinfo.utcoffset(self) |
| 2186 | _check_utc_offset("utcoffset", offset) |
| 2187 | return offset |
| 2188 | |
| 2189 | def tzname(self): |
| 2190 | """Return the timezone name. |
no test coverage detected