Home
last modified time | relevance | path

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

/third_party/python/Lib/zoneinfo/
H A D_zoneinfo.py429 "dst_diff",
435 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
495 # For positive DST, the ambiguous period is one dst_diff after the end
496 # of DST; for negative DST, the ambiguous period is one dst_diff before
498 if self.dst_diff > 0:
500 ambig_end = end + self.dst_diff
[all...]
/third_party/python/Doc/includes/
H A Dtzinfo_examples.py27 dst_diff = DSTDIFF // SECOND
29 fold = (args == _time.localtime(stamp - dst_diff))
/third_party/python/Modules/
H A D_zoneinfo.c33 int dst_diff; member
1371 if (fold == (rule->dst_diff >= 0)) { in find_tzrule_ttinfo()
1372 end -= rule->dst_diff; in find_tzrule_ttinfo()
1375 start += rule->dst_diff; in find_tzrule_ttinfo()
1426 // For positive DST, the ambiguous period is one dst_diff after the end of in find_tzrule_ttinfo_fromutc()
1427 // DST; for negative DST, the ambiguous period is one dst_diff before the in find_tzrule_ttinfo_fromutc()
1430 if (rule->dst_diff > 0) { in find_tzrule_ttinfo_fromutc()
1432 ambig_end = end + rule->dst_diff; in find_tzrule_ttinfo_fromutc()
1436 ambig_end = start - rule->dst_diff; in find_tzrule_ttinfo_fromutc()
1929 rv.dst_diff in build_tzrule()
[all...]

Completed in 6 milliseconds