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

Method tzname

Lib/test/datetimetester.py:6726–6727  ·  view source on GitHub ↗
(self, dt)

Source from the content-addressed store, hash-verified

6724 return ZERO if isdst else HOUR
6725
6726 def tzname(self, dt):
6727 return self._find_ti(dt, 2)
6728
6729 @classmethod
6730 def zonenames(cls, zonedir=None):

Callers 15

test_strMethod · 0.45
test_tznameMethod · 0.45
test_aware_datetimeMethod · 0.45
test_strptimeMethod · 0.45
test_strptime_tzMethod · 0.45
test_argument_passingMethod · 0.45
test_tzinfo_classesMethod · 0.45
test_zonesMethod · 0.45
test_picklingMethod · 0.45
test_compat_unpickleMethod · 0.45
test_replaceMethod · 0.45

Calls 1

_find_tiMethod · 0.95

Tested by

no test coverage detected