Searched refs:getInstant (Results 1 – 6 of 6) sorted by relevance
241 assertEquals(trans.getInstant(), createInstant(2008, 3, 30, 1, 0, ZoneOffset.UTC)); in test_London_getOffsetInfo_gap()267 assertEquals(trans.getInstant(), createInstant(2008, 10, 26, 1, 0, ZoneOffset.UTC)); in test_London_getOffsetInfo_overlap()416 assertEquals(test.nextTransition(first.getInstant().minusNanos(1)), first); in test_London_nextTransition_historic()422 assertEquals(test.nextTransition(cur.getInstant()), next); in test_London_nextTransition_historic()423 assertEquals(test.nextTransition(next.getInstant().minusNanos(1)), next); in test_London_nextTransition_historic()434 assertEquals(test.nextTransition(last.getInstant()), rules.get(0).createTransition(1998)); in test_London_nextTransition_rulesBased()441 assertEquals(test.nextTransition(a.getInstant()), b); in test_London_nextTransition_rulesBased()442 assertEquals(test.nextTransition(b.getInstant().minusNanos(1)), b); in test_London_nextTransition_rulesBased()444 assertEquals(test.nextTransition(b.getInstant()), c); in test_London_nextTransition_rulesBased()445 assertEquals(test.nextTransition(c.getInstant().minusNanos(1)), c); in test_London_nextTransition_rulesBased()[all …]
126 assertEquals(test.getInstant(), before.toInstant(OFFSET_0200)); in test_getters_gap()141 assertEquals(test.getInstant(), before.toInstant(OFFSET_0300)); in test_getters_overlap()
144 start = zoneOffsetTransition.getInstant(); in runChecksAroundInterestingTimestamps()
253 public Instant getInstant() { in getInstant() method in ZoneOffsetTransition
265 assertEquals(trans.getInstant(), dateTime.toInstant(ZoneOffset.UTC)); in test_London_getOffsetInfo_gap()291 assertEquals(trans.getInstant(), dateTime.toInstant(ZoneOffset.UTC)); in test_London_getOffsetInfo_overlap()420 assertEquals(trans.getInstant(), createInstant(2008, 3, 30, 1, 0, 0, 0, ZoneOffset.UTC)); in test_Paris_getOffsetInfo_gap()444 assertEquals(trans.getInstant(), createInstant(2008, 10, 26, 1, 0, 0, 0, ZoneOffset.UTC)); in test_Paris_getOffsetInfo_overlap()592 … assertEquals(trans.getInstant(), createInstant(2008, 3, 9, 2, 0, 0, 0, ZoneOffset.ofHours(-5))); in test_NewYork_getOffsetInfo_gap()615 … assertEquals(trans.getInstant(), createInstant(2008, 11, 2, 2, 0, 0, 0, ZoneOffset.ofHours(-4))); in test_NewYork_getOffsetInfo_overlap()
12978 method public java.time.Instant getInstant();