MCPcopy Index your code
hub / github.com/python/cpython / utcoffset

Method utcoffset

Lib/zoneinfo/_zoneinfo.py:109–110  ·  view source on GitHub ↗
(self, dt)

Source from the content-addressed store, hash-verified

107 return self._key
108
109 def utcoffset(self, dt):
110 return self._find_trans(dt).utcoff
111
112 def dst(self, dt):
113 return self._find_trans(dt).dstoff

Callers

nothing calls this directly

Calls 1

_find_transMethod · 0.95

Tested by

no test coverage detected