MCPcopy Create free account
hub / github.com/dateutil/dateutil / gettz

Method gettz

tests/test_tz.py:1808–1813  ·  view source on GitHub ↗
(self, tzname)

Source from the content-addressed store, hash-verified

1806 return '\n'.join(out_tz)
1807
1808 def gettz(self, tzname):
1809 tz_str = self._gettz_str(tzname)
1810
1811 tzc = tz.tzical(StringIO(tz_str)).get()
1812
1813 return tzc
1814
1815 def testRepr(self):
1816 instr = StringIO(TZICAL_PST8PDT)

Callers

nothing calls this directly

Calls 2

_gettz_strMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected