Home
last modified time | relevance | path

Searched refs:previousTransition (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestFixedZoneRules.java98 assertEquals(test.previousTransition(null), null); in test_data_nullInput()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java447 assertEquals(test.previousTransition(first.getInstant()), null); in test_London_previousTransition_historic()
448 assertEquals(test.previousTransition(first.getInstant().minusNanos(1)), null); in test_London_previousTransition_historic()
454 assertEquals(test.previousTransition(cur.getInstant()), prev); in test_London_previousTransition_historic()
455 assertEquals(test.previousTransition(prev.getInstant().plusSeconds(1)), prev); in test_London_previousTransition_historic()
456 assertEquals(test.previousTransition(prev.getInstant().plusNanos(1)), prev); in test_London_previousTransition_historic()
466 assertEquals(test.previousTransition(last.getInstant().plusSeconds(1)), last); in test_London_previousTransition_rulesBased()
467 assertEquals(test.previousTransition(last.getInstant().plusNanos(1)), last); in test_London_previousTransition_rulesBased()
472 assertEquals(test.previousTransition(odt.toInstant()), last); in test_London_previousTransition_rulesBased()
480 assertEquals(test.previousTransition(c.getInstant()), b); in test_London_previousTransition_rulesBased()
481 assertEquals(test.previousTransition(b.getInstant().plusSeconds(1)), b); in test_London_previousTransition_rulesBased()
[all …]
DTCKFixedZoneRules.java175 assertEquals(test.previousTransition(INSTANT), null); in test_previousTransition_Instant()
176 assertEquals(test.previousTransition(null), null); in test_previousTransition_Instant()
/libcore/luni/src/test/java/libcore/java/time/zone/
DIcuZoneRulesProviderTest.java108 jtTrans = rules.previousTransition(instant); in testTransitionsNearInstants()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRules.java883 public ZoneOffsetTransition previousTransition(Instant instant) { in previousTransition() method in ZoneRules
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java492 assertEquals(offset.getRules().previousTransition((Instant) null), null); in test_getRules()