Searched refs:getOffsetAfter (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransition.java | 308 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()
|
D | ZoneRules.java | 226 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()
|
D | ZoneOffsetTransitionRule.java | 469 public ZoneOffset getOffsetAfter() { in getOffsetAfter() method in ZoneOffsetTransitionRule
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 231 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 …]
|
D | TCKZoneOffsetTransition.java | 128 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_gap() 143 assertEquals(test.getOffsetAfter(), OFFSET_0200); in test_getters_overlap()
|
D | TCKZoneOffsetTransitionRule.java | 175 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/ |
D | ChronoZonedDateTimeImpl.java | 150 offset = trans.getOffsetAfter(); in ofBest() 246 ZoneOffset offset = trans.getOffsetAfter(); in withLaterOffsetAtOverlap()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 264 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()
|