Searched refs:getOffsetBefore (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransition.java | 297 public ZoneOffset getOffsetBefore() { in getOffsetBefore() 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 | 493 return trans.getOffsetBefore(); in getOffset() 539 return ((ZoneOffsetTransition) info).getOffsetBefore(); in getOffset() 645 if (info instanceof ZoneOffsetTransition || info.equals(trans.getOffsetBefore())) { in getOffsetInfo() 696 return trans.getOffsetBefore(); in findOffsetInfo() 708 return trans.getOffsetBefore(); in findOffsetInfo()
|
D | ZoneOffsetTransitionRule.java | 460 public ZoneOffset getOffsetBefore() { in getOffsetBefore() method in ZoneOffsetTransitionRule
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 230 assertEquals(trans.getOffsetBefore(), OFFSET_ZERO); in test_London_getOffsetInfo_gap() 255 assertEquals(trans.getOffsetBefore(), OFFSET_PONE); in test_London_getOffsetInfo_overlap() 297 assertEquals(first.getOffsetBefore(), ZoneOffset.ofHoursMinutesSeconds(0, -1, -15)); in test_London_getTransitions() 302 assertEquals(spring1916.getOffsetBefore(), OFFSET_ZERO); in test_London_getTransitions() 307 assertEquals(autumn1916.getOffsetBefore(), OFFSET_PONE); in test_London_getTransitions() 319 assertEquals(zot.getOffsetBefore(), OFFSET_ZERO); in test_London_getTransitions() 322 assertEquals(zot.getOffsetBefore(), OFFSET_PONE); in test_London_getTransitions() 325 assertEquals(zot.getOffsetBefore(), OFFSET_ZERO); in test_London_getTransitions() 328 assertEquals(zot.getOffsetBefore(), OFFSET_PONE); in test_London_getTransitions() 331 assertEquals(zot.getOffsetBefore(), OFFSET_ZERO); in test_London_getTransitions() [all …]
|
D | TCKZoneOffsetTransition.java | 127 assertEquals(test.getOffsetBefore(), OFFSET_0200); in test_getters_gap() 142 assertEquals(test.getOffsetBefore(), OFFSET_0300); in test_getters_overlap()
|
D | TCKZoneOffsetTransitionRule.java | 174 assertEquals(test.getOffsetBefore(), OFFSET_0200); in test_getters_floatingWeek() 190 assertEquals(test.getOffsetBefore(), OFFSET_0200); in test_getters_floatingWeekBackwards() 206 assertEquals(test.getOffsetBefore(), OFFSET_0200); in test_getters_fixedDate()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 263 assertEquals(trans.getOffsetBefore(), ZoneOffset.ofHours(0)); in test_London_getOffsetInfo_gap() 289 assertEquals(trans.getOffsetBefore(), ZoneOffset.ofHours(1)); in test_London_getOffsetInfo_overlap() 418 assertEquals(trans.getOffsetBefore(), ZoneOffset.ofHours(1)); in test_Paris_getOffsetInfo_gap() 442 assertEquals(trans.getOffsetBefore(), ZoneOffset.ofHours(2)); in test_Paris_getOffsetInfo_overlap() 590 assertEquals(trans.getOffsetBefore(), ZoneOffset.ofHours(-5)); in test_NewYork_getOffsetInfo_gap() 613 assertEquals(trans.getOffsetBefore(), ZoneOffset.ofHours(-4)); in test_NewYork_getOffsetInfo_overlap()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 234 ZoneOffset earlierOffset = trans.getOffsetBefore(); in withEarlierOffsetAtOverlap()
|