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.java308 public ZoneOffset getOffsetAfter() { in getOffsetAfter() method in ZoneOffsetTransition
331 return getOffsetAfter().getTotalSeconds() - getOffsetBefore().getTotalSeconds(); in getDurationSeconds()
344 return getOffsetAfter().getTotalSeconds() > getOffsetBefore().getTotalSeconds(); in isGap()
357 return getOffsetAfter().getTotalSeconds() < getOffsetBefore().getTotalSeconds(); in isOverlap()
371 … return isGap() ? false : (getOffsetBefore().equals(offset) || getOffsetAfter().equals(offset)); in isValidOffset()
385 return Arrays.asList(getOffsetBefore(), getOffsetAfter()); in getValidOffsets()
DZoneRules.java226 this.standardOffsets[i + 1] = standardOffsetTransitionList.get(i).getOffsetAfter(); in ZoneRules()
241 localTransitionOffsetList.add(trans.getOffsetAfter()); in ZoneRules()
496 return trans.getOffsetAfter(); in getOffset()
701 return trans.getOffsetAfter(); in findOffsetInfo()
705 return trans.getOffsetAfter(); in findOffsetInfo()
DZoneOffsetTransitionRule.java469 public ZoneOffset getOffsetAfter() { in getOffsetAfter() method in ZoneOffsetTransitionRule
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java231 assertEquals(trans.getOffsetAfter(), OFFSET_PONE); in test_London_getOffsetInfo_gap()
256 assertEquals(trans.getOffsetAfter(), OFFSET_ZERO); in test_London_getOffsetInfo_overlap()
298 assertEquals(first.getOffsetAfter(), OFFSET_ZERO); in test_London_getTransitions()
303 assertEquals(spring1916.getOffsetAfter(), OFFSET_PONE); in test_London_getTransitions()
308 assertEquals(autumn1916.getOffsetAfter(), OFFSET_ZERO); in test_London_getTransitions()
382 assertEquals(in.getOffsetAfter(), OFFSET_PONE); in test_London_getTransitionRules()
393 assertEquals(out.getOffsetAfter(), OFFSET_ZERO); in test_London_getTransitionRules()
470 ZonedDateTime odt = ZonedDateTime.ofInstant(last.getInstant(), last.getOffsetAfter()); in test_London_previousTransition_rulesBased()
613 assertEquals(trans.getOffsetAfter(), OFFSET_PTWO); in test_Paris_getOffsetInfo_gap()
636 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.java175 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_floatingWeek()
191 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_floatingWeekBackwards()
207 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_fixedDate()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java150 offset = trans.getOffsetAfter(); in ofBest()
246 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/luni/src/test/java/libcore/java/time/zone/
DIcuZoneRulesProviderTest.java184 jtTransition.getOffsetAfter().getTotalSeconds()); in assertEquivalent()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java374 offset = trans.getOffsetAfter(); in ofLocal()
915 ZoneOffset laterOffset = trans.getOffsetAfter(); in withLaterOffsetAtOverlap()