Home
last modified time | relevance | path

Searched refs:ZoneOffsetTransition (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransition.java69 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()
111ZoneOffsetTransition.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 …]
DTCKZoneRules.java83 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 …]
DTCKZoneOffsetTransitionRule.java69 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()
DTCKFixedZoneRules.java74 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/
DTCKZoneOffsetTransitionSerialization.java71 import java.time.zone.ZoneOffsetTransition;
86ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, ZoneOffset.of("+02:04:56"), ZoneOffset.of… in test_serialization_unusual1()
93ZoneOffsetTransition 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/
DZoneRules.java149 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()
300ZoneOffsetTransition trans = new ZoneOffsetTransition(savingsInstantTransitions[i], before, after); in ZoneRules()
513 ZoneOffsetTransition[] transArray = findTransitionArray(year); in getOffset()
514 ZoneOffsetTransition trans = null; in getOffset()
[all …]
DZoneOffsetTransition.java99 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()
158ZoneOffsetTransition(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()
DSer.java152 ((ZoneOffsetTransition) object).writeExternal(out); in writeInternal()
198 return ZoneOffsetTransition.readExternal(in); in readInternal()
DZoneOffsetTransitionRule.java487 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/
DZoneOffsetTransitionTest.java23 import java.time.zone.ZoneOffsetTransition;
39 ZoneOffsetTransition transition = ZoneOffsetTransition.of(time, in test_toEpochSeconds()
/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestZoneRules.java37 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()
185ZoneOffsetTransition 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/
DChronoZonedDateTimeImpl.java81 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/
DTestZoneId.java76 import java.time.zone.ZoneOffsetTransition;
260ZoneOffsetTransition 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()
286ZoneOffsetTransition 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()
415ZoneOffsetTransition 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()
439ZoneOffsetTransition 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()
589ZoneOffsetTransition trans = checkOffset(test.getRules(), dateTime, ZoneOffset.ofHours(-5), GAP); in test_NewYork_getOffsetInfo_gap()
[all …]
/libcore/luni/src/test/java/libcore/java/time/
DTimeApisConsistencyTest.java36 import java.time.zone.ZoneOffsetTransition;
135 ZoneOffsetTransition zoneOffsetTransition = zoneRules.nextTransition(start); in runChecksAroundInterestingTimestamps()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java89 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()
DLocalDate.java102 import java.time.zone.ZoneOffsetTransition;
1937 ZoneOffsetTransition trans = rules.getTransition(ldt); in atStartOfDay()
/libcore/api/
Dcurrent.txt12973 …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/
Dopenjdk_java_files.bp874 "ojluni/src/main/java/java/time/zone/ZoneOffsetTransition.java",
DEXPECTED_UPSTREAM887 …/java/java/time/zone/ZoneOffsetTransition.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/ja…