/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; 227 ZoneOffsetTransition trans = checkOffset(test, dateTime, OFFSET_ZERO, GAP); in test_London_getOffsetInfo_gap() 244 final ZoneOffsetTransition otherTrans = test.getTransition(dateTime); in test_London_getOffsetInfo_gap() 252 ZoneOffsetTransition trans = checkOffset(test, dateTime, OFFSET_PONE, OVERLAP); in test_London_getOffsetInfo_overlap() 270 final ZoneOffsetTransition otherTrans = test.getTransition(dateTime); in test_London_getOffsetInfo_overlap() 293 List<ZoneOffsetTransition> trans = test.getTransitions(); in test_London_getTransitions() 295 ZoneOffsetTransition first = trans.get(0); in test_London_getTransitions() 300 ZoneOffsetTransition spring1916 = trans.get(1); in test_London_getTransitions() 305 ZoneOffsetTransition autumn1916 = trans.get(2); in test_London_getTransitions() 310 ZoneOffsetTransition zot = null; in test_London_getTransitions() [all …]
|
D | TCKZoneOffsetTransitionRule.java | 69 import java.time.zone.ZoneOffsetTransition; 219 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeek_gap_notEndOfDay() 229 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeek_overlap_endOfDay() 239 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeekBackwards_last() 249 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeekBackwards_seventhLast() 259 ZoneOffsetTransition trans = ZoneOffsetTransition.of( in test_createTransition_floatingWeekBackwards_secondLast() 269 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 | 150 private final transient ConcurrentMap<Integer, ZoneOffsetTransition[]> lastRulesCache = 151 new ConcurrentHashMap<Integer, ZoneOffsetTransition[]>(); 178 List<ZoneOffsetTransition> standardOffsetTransitionList, in of() 179 List<ZoneOffsetTransition> transitionList, in of() 213 List<ZoneOffsetTransition> standardOffsetTransitionList, in ZoneRules() 214 List<ZoneOffsetTransition> transitionList, in ZoneRules() 233 for (ZoneOffsetTransition trans : transitionList) { in ZoneRules() 289 …ZoneOffsetTransition trans = new ZoneOffsetTransition(savingsInstantTransitions[i], before, after); in ZoneRules() 488 ZoneOffsetTransition[] transArray = findTransitionArray(year); in getOffset() 489 ZoneOffsetTransition trans = null; in getOffset() [all …]
|
D | ZoneOffsetTransition.java | 99 public final class ZoneOffsetTransition class 100 implements Comparable<ZoneOffsetTransition>, Serializable { 134 …public static ZoneOffsetTransition of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffse… in of() 144 return new ZoneOffsetTransition(transition, offsetBefore, offsetAfter); in of() 154 … ZoneOffsetTransition(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() method in ZoneOffsetTransition 167 ZoneOffsetTransition(long epochSecond, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() method in ZoneOffsetTransition 224 static ZoneOffsetTransition readExternal(DataInput in) throws IOException { in readExternal() 231 return new ZoneOffsetTransition(epochSecond, before, after); in readExternal() 399 public int compareTo(ZoneOffsetTransition transition) { in compareTo() 417 if (other instanceof ZoneOffsetTransition) { in equals() [all …]
|
D | IcuZoneRulesProvider.java | 119 List<ZoneOffsetTransition> standardOffsetTransitionList = new ArrayList<>(); in generateZoneRules() 120 List<ZoneOffsetTransition> transitionList = new ArrayList<>(); in generateZoneRules() 140 standardOffsetTransitionList.add(new ZoneOffsetTransition( in generateZoneRules() 149 transitionList.add(new ZoneOffsetTransition( in generateZoneRules()
|
D | Ser.java | 151 ((ZoneOffsetTransition) object).writeExternal(out); in writeInternal() 196 return ZoneOffsetTransition.readExternal(in); in readInternal()
|
D | ZoneOffsetTransitionRule.java | 482 public ZoneOffsetTransition createTransition(int year) { in createTransition() 500 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()
|
D | IcuZoneRulesProviderTest.java | 30 import java.time.zone.ZoneOffsetTransition; 98 ZoneOffsetTransition jtTrans; in testTransitionsNearInstants() 135 ZoneOffsetTransition jtTrans; in testAllTransitions() 170 TimeZoneTransition icuTransition, ZoneOffsetTransition jtTransition) { in assertEquivalent()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 81 import java.time.zone.ZoneOffsetTransition; 148 ZoneOffsetTransition trans = rules.getTransition(isoLDT); in ofBest() 232 ZoneOffsetTransition trans = getZone().getRules().getTransition(LocalDateTime.from(this)); in withEarlierOffsetAtOverlap() 244 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/ojluni/src/main/java/java/time/ |
D | ZonedDateTime.java | 89 import java.time.zone.ZoneOffsetTransition; 372 ZoneOffsetTransition trans = rules.getTransition(localDateTime); in ofLocal() 474 ZoneOffsetTransition trans = rules.getTransition(localDateTime); in ofStrict() 885 ZoneOffsetTransition trans = getZone().getRules().getTransition(dateTime); in withEarlierOffsetAtOverlap() 913 ZoneOffsetTransition trans = getZone().getRules().getTransition(toLocalDateTime()); in withLaterOffsetAtOverlap()
|
D | LocalDate.java | 100 import java.time.zone.ZoneOffsetTransition; 1812 ZoneOffsetTransition trans = rules.getTransition(ldt); in atStartOfDay()
|
/libcore/ |
D | openjdk_java_files.mk | 828 ojluni/src/main/java/java/time/zone/ZoneOffsetTransition.java \
|