Home
last modified time | relevance | path

Searched refs:ZoneTransition (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py552 ZoneTransition(datetime(1883, 6, 9, 14), LMT, STD),
591 ZoneTransition(datetime(1970, 1, 1), DST, DST),
621 ZoneTransition(datetime(year, 3, 1, 2), STD, DST)
624 ZoneTransition(datetime(year, 11, 1, 2), DST, STD)
672 ZoneTransition(None, offset, offset),
718 ZoneTransition(datetime(1912, 1, 1), LMT, GMT),
763 transitions = [ZoneTransition(datetime(1970, 1, 1), UTC, UTC)]
1794 class ZoneTransition: class
1934 ZoneTransition(datetime(1912, 1, 1), LMT, GMT),
1945 ZoneTransition(datetime(2018, 3, 25, 2), P00_s, P01_d),
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestMetazoneTransitions.java88 private static class ZoneTransition implements Comparable<ZoneTransition> { class in TestMetazoneTransitions
95 ZoneTransition other = (ZoneTransition) that; in equals()
104 public ZoneTransition(long date, int offset) { in ZoneTransition() method in TestMetazoneTransitions.ZoneTransition
117 public int compareTo(ZoneTransition o) { in compareTo()
137 List<ZoneTransition> chronologicalList = new ArrayList<ZoneTransition>();
173 ZoneTransition last = chronologicalList.get(size - 1); in addIfDifferent()
178 chronologicalList.add(new ZoneTransition(date, offset)); in addIfDifferent()
186 ZoneTransition a = chronologicalList.get(i); in compareTo()
187 ZoneTransition b = other.chronologicalList.get(i); in compareTo()
228 ZoneTransition a = chronologicalList.get(i); in getDifferenceFrom()
[all …]