/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneOffsetTransition.java | 69 import java.time.zone.ZoneOffsetTransition; 91 ZoneOffsetTransition.of(null, OFFSET_0100, OFFSET_0200); in test_factory_nullTransition() 96 ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30), null, OFFSET_0200); in test_factory_nullOffsetBefore() 101 ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30), OFFSET_0200, null); in test_factory_nullOffsetAfter() 106 ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30), OFFSET_0200, OFFSET_0200); in test_factory_sameOffset() 111 … ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30, 0, 500), OFFSET_0200, OFFSET_0300); in test_factory_noNanos() 121 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0200, OFFSET_0300); in test_getters_gap() 136 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0300, OFFSET_0200); in test_getters_overlap() 154 ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, OFFSET_0200, OFFSET_0300); in test_isValidOffset_gap() 165 ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, OFFSET_0300, OFFSET_0200); in test_isValidOffset_overlap() [all …]
|
D | TCKZoneRules.java | 83 import java.time.zone.ZoneOffsetTransition; 236 ZoneOffsetTransition trans = checkOffset(test, dateTime, OFFSET_ZERO, GAP); in test_London_getOffsetInfo_gap() 253 final ZoneOffsetTransition otherTrans = test.getTransition(dateTime); in test_London_getOffsetInfo_gap() 262 ZoneOffsetTransition trans = checkOffset(test, dateTime, OFFSET_PONE, OVERLAP); in test_London_getOffsetInfo_overlap() 280 final ZoneOffsetTransition otherTrans = test.getTransition(dateTime); in test_London_getOffsetInfo_overlap() 305 List<ZoneOffsetTransition> trans = test.getTransitions(); in test_London_getTransitions() 307 ZoneOffsetTransition first = trans.get(0); in test_London_getTransitions() 312 ZoneOffsetTransition spring1916 = trans.get(1); in test_London_getTransitions() 317 ZoneOffsetTransition autumn1916 = trans.get(2); in test_London_getTransitions() 322 ZoneOffsetTransition zot = null; in test_London_getTransitions() [all …]
|
D | TCKZoneOffsetTransitionRule.java | 69 import java.time.zone.ZoneOffsetTransition; 226 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeek_gap_notEndOfDay() 236 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeek_overlap_endOfDay() 246 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeekBackwards_last() 256 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeekBackwards_seventhLast() 266 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeekBackwards_secondLast() 276 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_fixedDate()
|
D | TCKFixedZoneRules.java | 74 import java.time.zone.ZoneOffsetTransition; 188 test.getTransitions().add(ZoneOffsetTransition.of(LDT, OFFSET_PONE, OFFSET_PTWO)); in test_getTransitions_immutable()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
D | TCKZoneOffsetTransitionSerialization.java | 71 import java.time.zone.ZoneOffsetTransition; 86 …ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, ZoneOffset.of("+02:04:56"), ZoneOffset.of… in test_serialization_unusual1() 93 …ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, ZoneOffset.of("+02:04:56"), ZoneOffset.of… in test_serialization_unusual2() 101 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0200, OFFSET_0300); in test_serialization_gap() 109 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0300, OFFSET_0200); in test_serialization_overlap() 115 assertNotSerializable(ZoneOffsetTransition.class); in test_invalid_serialform()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRules.java | 149 private final transient ConcurrentMap<Integer, ZoneOffsetTransition[]> lastRulesCache = 150 new ConcurrentHashMap<Integer, ZoneOffsetTransition[]>(); 187 List<ZoneOffsetTransition> standardOffsetTransitionList, in of() 188 List<ZoneOffsetTransition> transitionList, in of() 222 List<ZoneOffsetTransition> standardOffsetTransitionList, in ZoneRules() 223 List<ZoneOffsetTransition> transitionList, in ZoneRules() 242 for (ZoneOffsetTransition trans : transitionList) { in ZoneRules() 300 …ZoneOffsetTransition trans = new ZoneOffsetTransition(savingsInstantTransitions[i], before, after); in ZoneRules() 513 ZoneOffsetTransition[] transArray = findTransitionArray(year); in getOffset() 514 ZoneOffsetTransition trans = null; in getOffset() [all …]
|
D | ZoneOffsetTransition.java | 99 public final class ZoneOffsetTransition class 100 implements Comparable<ZoneOffsetTransition>, Serializable { 138 …public static ZoneOffsetTransition of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffse… in of() 148 return new ZoneOffsetTransition(transition, offsetBefore, offsetAfter); in of() 158 … ZoneOffsetTransition(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() method in ZoneOffsetTransition 173 ZoneOffsetTransition(long epochSecond, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() method in ZoneOffsetTransition 231 static ZoneOffsetTransition readExternal(DataInput in) throws IOException { in readExternal() 238 return new ZoneOffsetTransition(epochSecond, before, after); in readExternal() 406 public int compareTo(ZoneOffsetTransition transition) { in compareTo() 424 return (other instanceof ZoneOffsetTransition d) in equals()
|
D | Ser.java | 152 ((ZoneOffsetTransition) object).writeExternal(out); in writeInternal() 198 return ZoneOffsetTransition.readExternal(in); in readInternal()
|
D | ZoneOffsetTransitionRule.java | 487 public ZoneOffsetTransition createTransition(int year) { in createTransition() 505 return new ZoneOffsetTransition(transition, offsetBefore, offsetAfter); in createTransition()
|
/libcore/luni/src/test/java/libcore/java/time/zone/ |
D | ZoneOffsetTransitionTest.java | 23 import java.time.zone.ZoneOffsetTransition; 39 ZoneOffsetTransition transition = ZoneOffsetTransition.of(time, in test_toEpochSeconds()
|
/libcore/ojluni/src/test/java/time/test/java/time/zone/ |
D | TestZoneRules.java | 37 import java.time.zone.ZoneOffsetTransition; 68 …private static final ZoneOffsetTransition ZOT = ZoneId.of("America/Los_Angeles").getRules().getTra… 165 ZoneOffsetTransition zot = ZoneOffsetTransition.of(ldt, before, after); in test_TransitionBeyondDay() 185 …ZoneOffsetTransition transition = ZoneOffsetTransition.of(LocalDateTime.ofEpochSecond(0, 0, OFF_0), in test_TransitionLastRuleYear() 215 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_EmptyTransitionList()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 81 import java.time.zone.ZoneOffsetTransition; 149 ZoneOffsetTransition trans = rules.getTransition(isoLDT); in ofBest() 233 ZoneOffsetTransition trans = getZone().getRules().getTransition(LocalDateTime.from(this)); in withEarlierOffsetAtOverlap() 245 ZoneOffsetTransition trans = getZone().getRules().getTransition(LocalDateTime.from(this)); in withLaterOffsetAtOverlap()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 76 import java.time.zone.ZoneOffsetTransition; 260 … ZoneOffsetTransition trans = checkOffset(test.getRules(), dateTime, ZoneOffset.ofHours(0), GAP); in test_London_getOffsetInfo_gap() 278 final ZoneOffsetTransition otherTrans = test.getRules().getTransition(dateTime); in test_London_getOffsetInfo_gap() 286 …ZoneOffsetTransition trans = checkOffset(test.getRules(), dateTime, ZoneOffset.ofHours(1), OVERLAP… in test_London_getOffsetInfo_overlap() 304 final ZoneOffsetTransition otherTrans = test.getRules().getTransition(dateTime); in test_London_getOffsetInfo_overlap() 415 … ZoneOffsetTransition trans = checkOffset(test.getRules(), dateTime, ZoneOffset.ofHours(1), GAP); in test_Paris_getOffsetInfo_gap() 431 final ZoneOffsetTransition otherDis = test.getRules().getTransition(dateTime); in test_Paris_getOffsetInfo_gap() 439 …ZoneOffsetTransition trans = checkOffset(test.getRules(), dateTime, ZoneOffset.ofHours(2), OVERLAP… in test_Paris_getOffsetInfo_overlap() 455 final ZoneOffsetTransition otherDis = test.getRules().getTransition(dateTime); in test_Paris_getOffsetInfo_overlap() 589 … ZoneOffsetTransition trans = checkOffset(test.getRules(), dateTime, ZoneOffset.ofHours(-5), GAP); in test_NewYork_getOffsetInfo_gap() [all …]
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | TimeApisConsistencyTest.java | 36 import java.time.zone.ZoneOffsetTransition; 135 ZoneOffsetTransition zoneOffsetTransition = zoneRules.nextTransition(start); in runChecksAroundInterestingTimestamps()
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZonedDateTime.java | 89 import java.time.zone.ZoneOffsetTransition; 373 ZoneOffsetTransition trans = rules.getTransition(localDateTime); in ofLocal() 476 ZoneOffsetTransition trans = rules.getTransition(localDateTime); in ofStrict() 887 ZoneOffsetTransition trans = getZone().getRules().getTransition(dateTime); in withEarlierOffsetAtOverlap() 915 ZoneOffsetTransition trans = getZone().getRules().getTransition(toLocalDateTime()); in withLaterOffsetAtOverlap()
|
D | LocalDate.java | 102 import java.time.zone.ZoneOffsetTransition; 1937 ZoneOffsetTransition trans = rules.getTransition(ldt); in atStartOfDay()
|
/libcore/api/ |
D | current.txt | 12973 …public final class ZoneOffsetTransition implements java.lang.Comparable<java.time.zone.ZoneOffsetT… 12974 method public int compareTo(java.time.zone.ZoneOffsetTransition); 12984 …method public static java.time.zone.ZoneOffsetTransition of(java.time.LocalDateTime, java.time.Zon… 12989 method public java.time.zone.ZoneOffsetTransition createTransition(int); 13014 method public java.time.zone.ZoneOffsetTransition getTransition(java.time.LocalDateTime); 13016 method public java.util.List<java.time.zone.ZoneOffsetTransition> getTransitions(); 13021 method public java.time.zone.ZoneOffsetTransition nextTransition(java.time.Instant); 13022 …neOffset, java.util.List<java.time.zone.ZoneOffsetTransition>, java.util.List<java.time.zone.ZoneO… 13024 method public java.time.zone.ZoneOffsetTransition previousTransition(java.time.Instant);
|
/libcore/ |
D | openjdk_java_files.bp | 874 "ojluni/src/main/java/java/time/zone/ZoneOffsetTransition.java",
|
D | EXPECTED_UPSTREAM | 887 …/java/java/time/zone/ZoneOffsetTransition.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/ja…
|