Home
last modified time | relevance | path

Searched refs:dst_diff (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/zoneinfo/
D_zoneinfo.py435 self.dst_diff = dst_offset - std_offset
445 delta = _load_timedelta(self.dst_diff)
473 if fold == (self.dst_diff >= 0):
474 end -= self.dst_diff
476 start += self.dst_diff
498 if self.dst_diff > 0:
500 ambig_end = end + self.dst_diff
503 ambig_end = start - self.dst_diff
/third_party/python/Doc/includes/
Dtzinfo_examples.py27 dst_diff = DSTDIFF // SECOND
29 fold = (args == _time.localtime(stamp - dst_diff))
/third_party/python/Modules/
D_zoneinfo.c29 int dst_diff; member
1367 if (fold == (rule->dst_diff >= 0)) { in find_tzrule_ttinfo()
1368 end -= rule->dst_diff; in find_tzrule_ttinfo()
1371 start += rule->dst_diff; in find_tzrule_ttinfo()
1426 if (rule->dst_diff > 0) { in find_tzrule_ttinfo_fromutc()
1428 ambig_end = end + rule->dst_diff; in find_tzrule_ttinfo_fromutc()
1432 ambig_end = start - rule->dst_diff; in find_tzrule_ttinfo_fromutc()
1925 rv.dst_diff = dst_offset - std_offset; in build_tzrule()
1926 if (build_ttinfo(dst_offset, rv.dst_diff, dst_abbr, &rv.dst)) { in build_tzrule()