Home
last modified time | relevance | path

Searched refs:zot (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java310 ZoneOffsetTransition zot = null; in test_London_getTransitions() local
313 zot = it.next(); in test_London_getTransitions()
314 if (zot.getDateTimeBefore().getYear() == 1990) { in test_London_getTransitions()
318 assertEquals(zot.getDateTimeBefore(), LocalDateTime.of(1990, 3, 25, 1, 0)); in test_London_getTransitions()
319 assertEquals(zot.getOffsetBefore(), OFFSET_ZERO); in test_London_getTransitions()
320 zot = it.next(); in test_London_getTransitions()
321 assertEquals(zot.getDateTimeBefore(), LocalDateTime.of(1990, 10, 28, 2, 0)); in test_London_getTransitions()
322 assertEquals(zot.getOffsetBefore(), OFFSET_PONE); in test_London_getTransitions()
323 zot = it.next(); in test_London_getTransitions()
324 assertEquals(zot.getDateTimeBefore(), LocalDateTime.of(1991, 3, 31, 1, 0)); in test_London_getTransitions()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java674 ZoneOffsetTransition zot = rules.getTransition(dateTime); in checkOffset() local
675 assertNotNull(zot); in checkOffset()
676 assertEquals(zot.isOverlap(), type == 2); in checkOffset()
677 assertEquals(zot.isGap(), type == 0); in checkOffset()
678 assertEquals(zot.isValidOffset(offset), type == 2); in checkOffset()
679 return zot; in checkOffset()