/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKClock_Fixed.java | 132 Clock d = Clock.fixed(INSTANT.minusNanos(1), ZoneOffset.UTC); in test_equals() 149 Clock d = Clock.fixed(INSTANT.minusNanos(1), ZoneOffset.UTC); in test_hashCode()
|
D | TCKClock_Offset.java | 141 Clock d = Clock.offset(Clock.system(PARIS), OFFSET.minusNanos(1)); in test_equals() 158 Clock d = Clock.offset(Clock.system(PARIS), OFFSET.minusNanos(1)); in test_hashCode()
|
D | TCKLocalTime.java | 2152 t = t.minusNanos(500000000); 2231 LocalTime t = base.minusNanos(nanoseconds); 2241 LocalTime t = TEST_12_30_40_987654321.minusNanos(0); 2247 LocalTime t = TEST_12_30_40_987654321.minusNanos(24 * 60 * 60 * 1000000000L); 2253 LocalTime t = LocalTime.of(0, 0, 0, 1).minusNanos(1); 2259 LocalTime t = LocalTime.of(12, 0, 0, 1).minusNanos(1); 2425 t = t.minusNanos(1); 2439 t = t.minusNanos(1);
|
D | TCKDuration.java | 2123 t = t.minusNanos(amount); in minusNanos_long() 2131 t.minusNanos(-1); in minusNanos_long_overflowTooBig() 2137 t.minusNanos(1); in minusNanos_long_overflowTooSmall()
|
D | TCKInstant.java | 1697 i = i.minusNanos(amount); 1705 i.minusNanos(-1); 1711 i.minusNanos(1);
|
D | TCKOffsetTime.java | 1062 OffsetTime test = base.minusNanos(1); 1069 OffsetTime test = base.minusNanos(0);
|
D | TCKZonedDateTime.java | 1987 assertEquals(base.minusNanos(-amount * 3600_000_000_000L), expected); 1994 ZonedDateTime test = base.minusNanos(1); 1995 assertEquals(test, ZonedDateTime.of(ldt.minusNanos(1), ZONE_0100));
|
D | TCKLocalDateTime.java | 376 Clock clock = Clock.fixed(MIN_INSTANT.minusNanos(1), ZoneOffset.UTC); 2665 t = t.minusNanos(500000000); 2748 LocalDateTime t = base.minusNanos(nanoseconds);
|
D | TCKOffsetDateTime.java | 1139 OffsetDateTime test = base.minusNanos(1);
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestDuration.java | 169 assertSame(t.minusNanos(0), t); in minusNanos_zeroReturnsThis() 175 assertSame(t.minusNanos(1002000000), Duration.ZERO); in minusNanos_zeroSingleton()
|
D | TestLocalDateTime.java | 465 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusNanos(0); in test_minusNanos_noChange() 471 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusNanos(24 * 60 * 60 * 1000000000L); in test_minusNanos_noChange_oneDay() 478 … LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(0, 0, 0, 1)).minusNanos(1); in test_minusNanos_toMidnight() 484 …LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.with(LocalTime.of(12, 0, 0, 1)).minusNanos(1); in test_minusNanos_toMidday()
|
D | TestOffsetDateTime.java | 319 OffsetDateTime test = base.minusNanos(0); in test_minusNanos_zero()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | DurationTest.java | 77 { Instant.EPOCH, Duration.between(Instant.EPOCH, Instant.MIN).minusNanos(1) }, in test_addTo_exceeds() 104 { Instant.EPOCH, Duration.between(Instant.MAX, Instant.EPOCH).minusNanos(1) }, in test_subtractFrom_exceeds()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 402 assertEquals(test.nextTransition(first.getInstant().minusNanos(1)), first); in test_London_nextTransition_historic() 409 assertEquals(test.nextTransition(next.getInstant().minusNanos(1)), next); in test_London_nextTransition_historic() 427 assertEquals(test.nextTransition(b.getInstant().minusNanos(1)), b); in test_London_nextTransition_rulesBased() 430 assertEquals(test.nextTransition(c.getInstant().minusNanos(1)), c); in test_London_nextTransition_rulesBased() 448 assertEquals(test.previousTransition(first.getInstant().minusNanos(1)), null); in test_London_previousTransition_historic() 885 assertEquals(test.nextTransition(first.getInstant().minusNanos(1)), first); in test_Kathmandu_nextTransition_historic() 892 assertEquals(test.nextTransition(next.getInstant().minusNanos(1)), next); in test_Kathmandu_nextTransition_historic() 916 assertEquals(test.nextTransition(first.getInstant().minusNanos(1)), first); in test_Apia_nextTransition_historic() 923 assertEquals(test.nextTransition(next.getInstant().minusNanos(1)), next); in test_Apia_nextTransition_historic()
|
/libcore/ojluni/src/main/java/java/time/ |
D | OffsetTime.java | 1047 public OffsetTime minusNanos(long nanos) { in minusNanos() method in OffsetTime 1048 return with(time.minusNanos(nanos), offset); in minusNanos()
|
D | Clock.java | 629 return instant.minusNanos(adjust); in instant()
|
D | Instant.java | 1021 public Instant minusNanos(long nanosToSubtract) { in minusNanos() method in Instant
|
D | Duration.java | 936 public Duration minusNanos(long nanosToSubtract) { in minusNanos() method in Duration
|
D | OffsetDateTime.java | 1513 public OffsetDateTime minusNanos(long nanos) { in minusNanos() method in OffsetDateTime
|
D | LocalTime.java | 1260 public LocalTime minusNanos(long nanosToSubtract) { in minusNanos() method in LocalTime
|
D | ZonedDateTime.java | 2013 public ZonedDateTime minusNanos(long nanos) { in minusNanos() method in ZonedDateTime
|
D | LocalDateTime.java | 1528 public LocalDateTime minusNanos(long nanos) { in minusNanos() method in LocalDateTime
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 245 public java.time.Duration minusNanos(long nanosToSubtract) { in minusNanos() method in Duration
|
D | OffsetDateTime.java | 350 public java.time.OffsetDateTime minusNanos(long nanos) { in minusNanos() method in OffsetDateTime
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 640 …assertEquals(accessor.query(TemporalQueries.localTime()), expectedTime.minusNanos(nano), "Resolver… in test_resolveThreeToTime()
|