/libcore/luni/src/test/java/libcore/java/time/ |
D | DurationTest.java | 63 assertSame(Instant.EPOCH, Duration.ZERO.subtractFrom(Instant.EPOCH)); in test_subtractFrom() 65 Duration.between(Instant.MIN, Instant.EPOCH).subtractFrom(Instant.EPOCH)); in test_subtractFrom() 67 Duration.between(Instant.MIN, Instant.MAX).subtractFrom(Instant.MAX)); in test_subtractFrom() 69 Duration.between(Instant.EPOCH, Instant.MAX).subtractFrom(Instant.MAX)); in test_subtractFrom() 120 duration.subtractFrom(temporal); in test_subtractFrom_exceeds() 143 assertSame(temporal, Duration.ZERO.subtractFrom(temporal)); in test_addTo_subtractFrom_unsupported() 151 second.subtractFrom(temporal); in test_addTo_subtractFrom_unsupported()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAmount.java | 218 Temporal subtractFrom(Temporal temporal); in subtractFrom() method
|
D | Temporal.java | 334 return amount.subtractFrom(this); in minus()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoPeriod.java | 222 Temporal result = period.subtractFrom(date); in test_subtractFrom() 232 period.subtractFrom(isoDate); in test_subtractFrom_wrongChrono() 233 period.subtractFrom(thaiDate); in test_subtractFrom_wrongChrono()
|
D | TCKChronoLocalDate.java | 356 public Temporal subtractFrom(Temporal ignore) { in subtractFrom() method in TCKChronoLocalDate.FixedAdjuster
|
D | TCKChronoLocalDateTime.java | 376 public Temporal subtractFrom(Temporal ignore) { in subtractFrom() method in TCKChronoLocalDateTime.FixedAdjuster
|
D | TCKChronoZonedDateTime.java | 377 public Temporal subtractFrom(Temporal ignore) { in subtractFrom() method in TCKChronoZonedDateTime.FixedAdjuster
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriod.java | 329 Temporal subtractFrom(Temporal temporal); in subtractFrom() method
|
D | ChronoPeriodImpl.java | 284 public Temporal subtractFrom(Temporal temporal) { in subtractFrom() method in ChronoPeriodImpl
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 187 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_YearsDays() 210 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_Years_tooBig() 240 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_DaysHours() 666 public Temporal subtractFrom(Temporal temporal) { in test_plus_TemporalAmount_DaysHours() 811 public Temporal subtractFrom(Temporal temporal) { in test_minus_TemporalAmount_DaysHours() 1114 assertEquals(period.subtractFrom(baseDate), expected); in test_subtractFrom() 1124 Period.ZERO.subtractFrom(null); in test_subtractFrom_nullZero() 1129 Period.ofDays(2).subtractFrom(null); in test_subtractFrom_nullNonZero()
|
D | MockSimplePeriod.java | 146 public Temporal subtractFrom(Temporal temporal) { in subtractFrom() method in MockSimplePeriod
|
D | TCKDuration.java | 460 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_DaysNanos() 485 public Temporal subtractFrom(Temporal temporal) { in factory_from_TemporalAmount_Minutes_tooBig()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | MockSimplePeriod.java | 146 public Temporal subtractFrom(Temporal temporal) { in subtractFrom() method in MockSimplePeriod
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 278 public java.time.temporal.Temporal subtractFrom(java.time.temporal.Temporal temporal) { in subtractFrom() method in Duration
|
/libcore/ojluni/src/main/java/java/time/ |
D | Year.java | 755 return (Year) amountToSubtract.subtractFrom(this); in minus()
|
D | Period.java | 940 public Temporal subtractFrom(Temporal temporal) { in subtractFrom() method in Period
|
D | YearMonth.java | 874 return (YearMonth) amountToSubtract.subtractFrom(this); in minus()
|
D | OffsetTime.java | 963 return (OffsetTime) amountToSubtract.subtractFrom(this); in minus()
|
D | Instant.java | 949 return (Instant) amountToSubtract.subtractFrom(this); in minus()
|
D | Duration.java | 1097 public Temporal subtractFrom(Temporal temporal) { in subtractFrom() method in Duration
|
D | OffsetDateTime.java | 1351 return (OffsetDateTime) amountToSubtract.subtractFrom(this); in minus()
|
D | LocalTime.java | 1176 return (LocalTime) amountToSubtract.subtractFrom(this); in minus()
|
D | ZonedDateTime.java | 1804 return (ZonedDateTime) amountToSubtract.subtractFrom(this); in minus()
|
D | LocalDateTime.java | 1365 return (LocalDateTime) amountToSubtract.subtractFrom(this); in minus()
|
D | LocalDate.java | 1376 return (LocalDate) amountToSubtract.subtractFrom(this); in minus()
|