Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java297 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()
DZoneRules.java493 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()
DZoneOffsetTransitionRule.java460 public ZoneOffset getOffsetBefore() { in getOffsetBefore() method in ZoneOffsetTransitionRule
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java230 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 …]
DTCKZoneOffsetTransition.java127 assertEquals(test.getOffsetBefore(), OFFSET_0200); in test_getters_gap()
142 assertEquals(test.getOffsetBefore(), OFFSET_0300); in test_getters_overlap()
DTCKZoneOffsetTransitionRule.java174 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/
DTestZoneId.java263 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/luni/src/test/java/libcore/java/time/zone/
DIcuZoneRulesProviderTest.java181 jtTransition.getOffsetBefore().getTotalSeconds()); in assertEquivalent()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java234 ZoneOffset earlierOffset = trans.getOffsetBefore(); in withEarlierOffsetAtOverlap()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java887 ZoneOffset earlierOffset = trans.getOffsetBefore(); in withEarlierOffsetAtOverlap()