Home
last modified time | relevance | path

Searched refs:getOffsetAfter (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java315 public ZoneOffset getOffsetAfter() { in getOffsetAfter() method in ZoneOffsetTransition
338 return getOffsetAfter().getTotalSeconds() - getOffsetBefore().getTotalSeconds(); in getDurationSeconds()
351 return getOffsetAfter().getTotalSeconds() > getOffsetBefore().getTotalSeconds(); in isGap()
364 return getOffsetAfter().getTotalSeconds() < getOffsetBefore().getTotalSeconds(); in isOverlap()
378 … return isGap() ? false : (getOffsetBefore().equals(offset) || getOffsetAfter().equals(offset)); in isValidOffset()
392 return List.of(getOffsetBefore(), getOffsetAfter()); in getValidOffsets()
DZoneRules.java235 this.standardOffsets[i + 1] = standardOffsetTransitionList.get(i).getOffsetAfter(); in ZoneRules()
250 localTransitionOffsetList.add(trans.getOffsetAfter()); in ZoneRules()
521 return trans.getOffsetAfter(); in getOffset()
726 return trans.getOffsetAfter(); in findOffsetInfo()
730 return trans.getOffsetAfter(); in findOffsetInfo()
DZoneOffsetTransitionRule.java474 public ZoneOffset getOffsetAfter() { in getOffsetAfter() method in ZoneOffsetTransitionRule
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java240 assertEquals(trans.getOffsetAfter(), OFFSET_PONE); in test_London_getOffsetInfo_gap()
266 assertEquals(trans.getOffsetAfter(), OFFSET_ZERO); in test_London_getOffsetInfo_overlap()
310 assertEquals(first.getOffsetAfter(), OFFSET_ZERO); in test_London_getTransitions()
315 assertEquals(spring1916.getOffsetAfter(), OFFSET_PONE); in test_London_getTransitions()
320 assertEquals(autumn1916.getOffsetAfter(), OFFSET_ZERO); in test_London_getTransitions()
395 assertEquals(in.getOffsetAfter(), OFFSET_PONE); in test_London_getTransitionRules()
406 assertEquals(out.getOffsetAfter(), OFFSET_ZERO); in test_London_getTransitionRules()
488 ZonedDateTime odt = ZonedDateTime.ofInstant(last.getInstant(), last.getOffsetAfter()); in test_London_previousTransition_rulesBased()
640 assertEquals(trans.getOffsetAfter(), OFFSET_PTWO); in test_Paris_getOffsetInfo_gap()
664 assertEquals(trans.getOffsetAfter(), OFFSET_PONE); in test_Paris_getOffsetInfo_overlap()
[all …]
DTCKZoneOffsetTransition.java128 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_gap()
143 assertEquals(test.getOffsetAfter(), OFFSET_0200); in test_getters_overlap()
DTCKZoneOffsetTransitionRule.java182 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_floatingWeek()
198 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_floatingWeekBackwards()
214 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_fixedDate()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java151 offset = trans.getOffsetAfter(); in ofBest()
247 ZoneOffset offset = trans.getOffsetAfter(); in withLaterOffsetAtOverlap()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java264 assertEquals(trans.getOffsetAfter(), ZoneOffset.ofHours(1)); in test_London_getOffsetInfo_gap()
290 assertEquals(trans.getOffsetAfter(), ZoneOffset.ofHours(0)); in test_London_getOffsetInfo_overlap()
419 assertEquals(trans.getOffsetAfter(), ZoneOffset.ofHours(2)); in test_Paris_getOffsetInfo_gap()
443 assertEquals(trans.getOffsetAfter(), ZoneOffset.ofHours(1)); in test_Paris_getOffsetInfo_overlap()
591 assertEquals(trans.getOffsetAfter(), ZoneOffset.ofHours(-4)); in test_NewYork_getOffsetInfo_gap()
614 assertEquals(trans.getOffsetAfter(), ZoneOffset.ofHours(-5)); in test_NewYork_getOffsetInfo_overlap()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java375 offset = trans.getOffsetAfter(); in ofLocal()
917 ZoneOffset laterOffset = trans.getOffsetAfter(); in withLaterOffsetAtOverlap()
/libcore/api/
Dcurrent.txt12979 method public java.time.ZoneOffset getOffsetAfter();
12994 method public java.time.ZoneOffset getOffsetAfter();