MCPcopy Index your code
hub / github.com/RustPython/RustPython / tzname

Method tzname

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

Source from the content-addressed store, hash-verified

6537 return ZERO if isdst else HOUR
6538
6539 def tzname(self, dt):
6540 return self._find_ti(dt, 2)
6541
6542 @classmethod
6543 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