Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ utcoffset
Method
utcoffset
Lib/test/datetimetester.py:6528–6529 ·
view source on GitHub ↗
(self, dt)
Source
from the content-addressed store, hash-verified
6526
return
self.ti[max(0, idx - 1)][i]
6527
6528
def
utcoffset(self, dt):
6529
return
self._find_ti(dt, 0)
6530
6531
def
dst(self, dt):
6532
isdst = self._find_ti(dt, 1)
Callers
nothing calls this directly
Calls
1
_find_ti
Method · 0.95
Tested by
no test coverage detected