MCPcopy Create free account
hub / github.com/python/cpython / transitions

Method transitions

Lib/zoneinfo/_zoneinfo.py:460–463  ·  view source on GitHub ↗
(self, year)

Source from the content-addressed store, hash-verified

458 self.get_trans_info_fromutc = self._get_trans_info_fromutc
459
460 def transitions(self, year):
461 start = self.start.year_to_epoch(year)
462 end = self.end.year_to_epoch(year)
463 return start, end
464
465 def _get_trans_info(self, ts, year, fold):
466 """Get the information about the current transition - tti"""

Callers 2

_get_trans_infoMethod · 0.95

Calls 1

year_to_epochMethod · 0.45

Tested by

no test coverage detected