Lines Matching refs:trans_idx
227 trans_idx, trans_utc, utcoff, isdst, abbr, tz_str = _common.load_data(
232 dstoff = self._utcoff_to_dstoff(trans_idx, utcoff, isdst)
235 trans_local = self._ts_to_local(trans_idx, trans_utc, utcoff)
247 self._ttinfos = [_ttinfo_list[idx] for idx in trans_idx]
299 def _utcoff_to_dstoff(trans_idx, utcoffsets, isdsts): argument
313 for i in range(1, len(trans_idx)):
317 idx = trans_idx[i]
332 comp_idx = trans_idx[i - 1]
338 comp_idx = trans_idx[i + 1]
362 def _ts_to_local(trans_idx, trans_list_utc, utcoffsets): argument
374 offset_1 = utcoffsets[trans_idx[0]]
383 for i in range(1, len(trans_idx)):
384 offset_0 = utcoffsets[trans_idx[i - 1]]
385 offset_1 = utcoffsets[trans_idx[i]]