/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriod.java | 67 import java.time.temporal.TemporalAmount; 95 extends TemporalAmount { 209 ChronoPeriod plus(TemporalAmount amountToAdd); in plus() 224 ChronoPeriod minus(TemporalAmount amountToSubtract); in minus()
|
D | ChronoLocalDate.java | 78 import java.time.temporal.TemporalAmount; 448 default ChronoLocalDate plus(TemporalAmount amount) { in plus() 471 default ChronoLocalDate minus(TemporalAmount amount) { in minus()
|
D | ChronoPeriodImpl.java | 75 import java.time.temporal.TemporalAmount; 176 public ChronoPeriod plus(TemporalAmount amountToAdd) { in plus() 186 public ChronoPeriod minus(TemporalAmount amountToSubtract) { in minus() 201 private ChronoPeriodImpl validateAmount(TemporalAmount amount) { in validateAmount()
|
D | ChronoLocalDateTime.java | 81 import java.time.temporal.TemporalAmount; 283 default ChronoLocalDateTime<D> plus(TemporalAmount amount) { in plus() 301 default ChronoLocalDateTime<D> minus(TemporalAmount amount) { in minus()
|
D | ChronoLocalDateImpl.java | 70 import java.time.temporal.TemporalAmount; 191 public D plus(TemporalAmount amount) { in plus() 218 public D minus(TemporalAmount amount) { in minus()
|
D | ChronoZonedDateTime.java | 81 import java.time.temporal.TemporalAmount; 430 default ChronoZonedDateTime<D> plus(TemporalAmount amount) { in plus() 448 default ChronoZonedDateTime<D> minus(TemporalAmount amount) { in minus()
|
D | ThaiBuddhistDate.java | 79 import java.time.temporal.TemporalAmount; 350 public ThaiBuddhistDate plus(TemporalAmount amount) { in plus() 360 public ThaiBuddhistDate minus(TemporalAmount amount) { in minus()
|
D | MinguoDate.java | 79 import java.time.temporal.TemporalAmount; 350 public MinguoDate plus(TemporalAmount amount) { in plus() 360 public MinguoDate minus(TemporalAmount amount) { in minus()
|
D | HijrahDate.java | 81 import java.time.temporal.TemporalAmount; 458 public HijrahDate plus(TemporalAmount amount) { in plus() 468 public HijrahDate minus(TemporalAmount amount) { in minus()
|
D | JapaneseDate.java | 82 import java.time.temporal.TemporalAmount; 559 public JapaneseDate plus(TemporalAmount amount) { in plus() 569 public JapaneseDate minus(TemporalAmount amount) { in minus()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | Temporal.java | 261 default Temporal plus(TemporalAmount amount) { in plus() 333 default Temporal minus(TemporalAmount amount) { in minus()
|
D | TemporalAmount.java | 99 public interface TemporalAmount { interface
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | MockSimplePeriod.java | 68 import java.time.temporal.TemporalAmount; 77 implements TemporalAmount, Comparable<MockSimplePeriod> {
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 75 import java.time.temporal.TemporalAmount; 160 TemporalAmount amount = Period.of(1, 2, 3); in factory_from_TemporalAmount_Period() 166 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_YearsDays() 196 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_Years_tooBig() 219 TemporalAmount amount = new TemporalAmount() { in factory_from_TemporalAmount_DaysHours() 645 TemporalAmount amount = new TemporalAmount() { in test_plus_TemporalAmount_DaysHours() 790 TemporalAmount amount = new TemporalAmount() { in test_minus_TemporalAmount_DaysHours()
|
D | TCKLocalTime.java | 117 import java.time.temporal.TemporalAmount; 1428 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.HOURS); in test_plus_TemporalAmount_positiveHours() 1435 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES); in test_plus_TemporalAmount_negativeMinutes() 1442 TemporalAmount period = Period.ZERO; in test_plus_TemporalAmount_zero() 1449 TemporalAmount p = MockSimplePeriod.of(1, HOURS); in test_plus_TemporalAmount_wrap() 1456 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.MONTHS); in test_plus_TemporalAmount_dateNotAllowed() 1462 TEST_12_30_40_987654321.plus((TemporalAmount) null); in test_plus_TemporalAmount_null() 1854 TemporalAmount period = MockSimplePeriod.of(7, ChronoUnit.HOURS); 1861 TemporalAmount period = MockSimplePeriod.of(-25, ChronoUnit.MINUTES); 1868 TemporalAmount period = Period.ZERO; [all …]
|
/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 82 import java.time.temporal.TemporalAmount; 254 public static Period from(TemporalAmount amount) { in from() 619 public Period plus(TemporalAmount amountToAdd) { in plus() 708 public Period minus(TemporalAmount amountToSubtract) { in minus()
|
D | Year.java | 90 import java.time.temporal.TemporalAmount; 649 public Year plus(TemporalAmount amountToAdd) { in plus() 754 public Year minus(TemporalAmount amountToSubtract) { in minus()
|
D | YearMonth.java | 93 import java.time.temporal.TemporalAmount; 743 public YearMonth plus(TemporalAmount amountToAdd) { in plus() 873 public YearMonth minus(TemporalAmount amountToSubtract) { in minus()
|
D | Instant.java | 88 import java.time.temporal.TemporalAmount; 781 public Instant plus(TemporalAmount amountToAdd) { in plus() 948 public Instant minus(TemporalAmount amountToSubtract) { in minus()
|
D | Duration.java | 88 import java.time.temporal.TemporalAmount; 130 implements TemporalAmount, Comparable<Duration>, Serializable { 328 public static Duration from(TemporalAmount amount) { in from()
|
D | OffsetDateTime.java | 85 import java.time.temporal.TemporalAmount; 1152 public OffsetDateTime plus(TemporalAmount amountToAdd) { in plus() 1350 public OffsetDateTime minus(TemporalAmount amountToSubtract) { in minus()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoLocalDate.java | 82 import java.time.temporal.TemporalAmount; 143 TemporalAmount adjuster = new FixedAdjuster(date2); in test_badPlusAdjusterChrono() 166 TemporalAmount adjuster = new FixedAdjuster(date2); in test_badMinusAdjusterChrono() 338 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
|
D | TCKChronoLocalDateTime.java | 83 import java.time.temporal.TemporalAmount; 144 TemporalAmount adjuster = new FixedAdjuster(cdt2); in test_badPlusAdjusterChrono() 168 TemporalAmount adjuster = new FixedAdjuster(cdt2); in test_badMinusAdjusterChrono() 358 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 69 implements java.time.temporal.TemporalAmount, 109 public static java.time.Duration from(java.time.temporal.TemporalAmount amount) { in from()
|
D | OffsetDateTime.java | 273 public java.time.OffsetDateTime plus(java.time.temporal.TemporalAmount amountToAdd) { in plus() 313 public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount amountToSubtract) { in minus()
|