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

Method utcoffset

Lib/test/test_logging.py:4559–4560  ·  view source on GitHub ↗
(self, dt)

Source from the content-addressed store, hash-verified

4557
4558class UTC(datetime.tzinfo):
4559 def utcoffset(self, dt):
4560 return ZERO
4561
4562 dst = utcoffset
4563

Callers 15

test_parse_dateMethod · 0.45
test_utcMethod · 0.45
_is_ambiguousMethod · 0.45
test_same_from_utcMethod · 0.45
test_utcMethod · 0.45
test_unambiguousMethod · 0.45
test_folds_and_gapsMethod · 0.45
test_one_transitionMethod · 0.45
test_one_zone_dstMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected