Home
last modified time | relevance | path

Searched refs:isGap (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java343 public boolean isGap() { in isGap() method in ZoneOffsetTransition
371 … return isGap() ? false : (getOffsetBefore().equals(offset) || getOffsetAfter().equals(offset)); in isValidOffset()
382 if (isGap()) { in getValidOffsets()
445 .append(isGap() ? "Gap" : "Overlap") in toString()
DZoneRules.java234 if (trans.isGap()) { in ZoneRules()
290 if (trans.isGap()) { in ZoneRules()
694 if (trans.isGap()) { in findOffsetInfo()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransition.java122 assertEquals(test.isGap(), true); in test_getters_gap()
137 assertEquals(test.isGap(), false); in test_getters_overlap()
DTCKZoneRules.java228 assertEquals(trans.isGap(), true); in test_London_getOffsetInfo_gap()
253 assertEquals(trans.isGap(), false); in test_London_getOffsetInfo_overlap()
610 assertEquals(trans.isGap(), true); in test_Paris_getOffsetInfo_gap()
633 assertEquals(trans.isGap(), false); in test_Paris_getOffsetInfo_overlap()
816 assertEquals(trans.isGap(), true); in test_NewYork_getOffsetInfo_gap()
839 assertEquals(trans.isGap(), false); in test_NewYork_getOffsetInfo_overlap()
934 assertEquals(trans.isGap(), true); in test_Apia_jumpOverInternationalDateLine_M10_to_P14()
954 assertEquals(trans.isGap(), false); in test_Apia_jumpForwardOverInternationalDateLine_P12_to_M12()
1118 assertEquals(zot.isGap(), type == 0); in checkOffset()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java261 assertEquals(trans.isGap(), true); in test_London_getOffsetInfo_gap()
287 assertEquals(trans.isGap(), false); in test_London_getOffsetInfo_overlap()
416 assertEquals(trans.isGap(), true); in test_Paris_getOffsetInfo_gap()
440 assertEquals(trans.isGap(), false); in test_Paris_getOffsetInfo_overlap()
677 assertEquals(zot.isGap(), type == 0); in checkOffset()
/libcore/ojluni/src/main/java/java/time/
DZonedDateTime.java475 if (trans != null && trans.isGap()) { in ofStrict()
DLocalDate.java1813 if (trans != null && trans.isGap()) { in atStartOfDay()