Searched refs:getOffsetBefore (Results 1 – 10 of 10) sorted by relevance
297 public ZoneOffset getOffsetBefore() { in getOffsetBefore() method in ZoneOffsetTransition331 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()
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()
460 public ZoneOffset getOffsetBefore() { in getOffsetBefore() method in ZoneOffsetTransitionRule
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 …]
127 assertEquals(test.getOffsetBefore(), OFFSET_0200); in test_getters_gap()142 assertEquals(test.getOffsetBefore(), OFFSET_0300); in test_getters_overlap()
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()
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()
181 jtTransition.getOffsetBefore().getTotalSeconds()); in assertEquivalent()
234 ZoneOffset earlierOffset = trans.getOffsetBefore(); in withEarlierOffsetAtOverlap()
887 ZoneOffset earlierOffset = trans.getOffsetBefore(); in withEarlierOffsetAtOverlap()