MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / dst

Method dst

tests/test_code/py/pytz/reference.py:62–66  ·  view source on GitHub ↗
(self, dt)

Source from the content-addressed store, hash-verified

60 return STDOFFSET
61
62 def dst(self, dt):
63 if self._isdst(dt):
64 return DSTDIFF
65 else:
66 return ZERO
67
68 def tzname(self, dt):
69 return _time.tzname[self._isdst(dt)]

Callers

nothing calls this directly

Calls 1

_isdstMethod · 0.95

Tested by

no test coverage detected