Home
last modified time | relevance | path

Searched refs:_ttinfo (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Modules/
H A D_zoneinfo.c28 } _ttinfo; typedef
31 _ttinfo std;
32 _ttinfo dst;
48 _ttinfo **trans_ttinfos; // References to the ttinfo for each transition
49 _ttinfo *ttinfo_before;
51 _ttinfo *_ttinfos; // Unique array of ttinfos for ease of deallocation
94 static _ttinfo NO_TTINFO = {NULL, NULL, NULL, 0};
135 static _ttinfo *
137 static _ttinfo *
142 build_ttinfo(long utcoffset, long dstoffset, PyObject *tzname, _ttinfo *ou
[all...]
/third_party/python/Lib/zoneinfo/
H A D_zoneinfo.py130 ) and not isinstance(self._tz_after, _ttinfo):
237 # Construct `_ttinfo` objects for each transition in the file
239 _ttinfo(
278 # 1. If _tz_after is not a _ttinfo, it has transitions that might
282 # 2. If _ttinfo_list contains more than one _ttinfo object, the objects
291 if len(_ttinfo_list) > 1 or not isinstance(self._tz_after, _ttinfo):
300 # Now we must transform our ttis and abbrs into `_ttinfo` objects,
396 class _ttinfo: class
418 _NO_TTINFO = _ttinfo(None, None, None)
437 self.std = _ttinfo(
[all...]

Completed in 3 milliseconds