MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / dst

Method dst

src/pendulum/tz/timezone.py:224–225  ·  view source on GitHub ↗
(self, dt: _datetime.datetime | None)

Source from the content-addressed store, hash-verified

222 return self._utcoffset
223
224 def dst(self, dt: _datetime.datetime | None) -> _datetime.timedelta:
225 return _datetime.timedelta()
226
227 def fromutc(self, dt: _datetime.datetime) -> _datetime.datetime:
228 # Use the stdlib datetime's add method to avoid infinite recursion

Callers 15

is_dstMethod · 0.80
test_dstFunction · 0.80
test_proper_dstFunction · 0.80
test_basic_convertFunction · 0.80
test_repeated_timeFunction · 0.80

Calls

no outgoing calls

Tested by 15

test_dstFunction · 0.64
test_proper_dstFunction · 0.64
test_basic_convertFunction · 0.64
test_repeated_timeFunction · 0.64
test_dstFunction · 0.64