/libcore/luni/src/test/java/libcore/java/time/ |
D | DurationTest.java | 49 assertSame(Instant.EPOCH, Duration.ZERO.addTo(Instant.EPOCH)); in test_addTo() 54 Duration.between(Instant.EPOCH, Instant.MAX).addTo(Instant.EPOCH)); in test_addTo() 56 Duration.between(Instant.MIN, Instant.MAX).addTo(Instant.MIN)); in test_addTo() 58 Duration.between(Instant.MIN, Instant.EPOCH).addTo(Instant.MIN)); in test_addTo() 92 duration.addTo(temporal); in test_addTo_exceeds() 142 assertSame(temporal, Duration.ZERO.addTo(temporal)); in test_addTo_subtractFrom_unsupported() 146 second.addTo(temporal); in test_addTo_subtractFrom_unsupported()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 334 addTo(cal); in getTimeInMillis() 373 this.addTo(cal); in getTimeInMillis() 528 public abstract void addTo(Calendar calendar); in addTo() method in Duration 551 public void addTo(Date date) { in addTo() method in Duration 560 this.addTo(cal); in addTo()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAmount.java | 176 Temporal addTo(Temporal temporal); in addTo() method
|
D | Temporal.java | 262 return amount.addTo(this); in plus()
|
D | TemporalUnit.java | 227 <R extends Temporal> R addTo(R temporal, long amount); in addTo() method
|
D | ChronoUnit.java | 265 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo() method in ChronoUnit
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoPeriod.java | 205 Temporal result = period.addTo(date); in test_addTo() 215 period.addTo(isoDate); in test_addTo_wrongChrono() 216 period.addTo(thaiDate); in test_addTo_wrongChrono()
|
D | TCKChronoLocalDate.java | 351 public Temporal addTo(Temporal ignore) { in addTo() method in TCKChronoLocalDate.FixedAdjuster 409 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo() method in TCKChronoLocalDate.FixedTemporalUnit
|
D | TCKChronoLocalDateTime.java | 371 public Temporal addTo(Temporal ignore) { in addTo() method in TCKChronoLocalDateTime.FixedAdjuster 430 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo() method in TCKChronoLocalDateTime.FixedTemporalUnit
|
D | TCKChronoZonedDateTime.java | 372 public Temporal addTo(Temporal ignore) { in addTo() method in TCKChronoZonedDateTime.FixedAdjuster 431 public <R extends Temporal> R addTo(R temporal, long amount) { in addTo() method in TCKChronoZonedDateTime.FixedTemporalUnit
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | DurationTest.java | 44 oneSecond.addTo(date); in testAddTo_Date() 49 oneSecond.addTo(date); in testAddTo_Date()
|
D | DurationImpl.java | 98 public void addTo(Calendar calendar) { in addTo() method in DurationImpl
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriod.java | 302 Temporal addTo(Temporal temporal); in addTo() method
|
D | ChronoLocalDate.java | 465 return ChronoLocalDateImpl.ensureValid(getChronology(), unit.addTo(this, amountToAdd)); in plus()
|
D | ChronoPeriodImpl.java | 256 public Temporal addTo(Temporal temporal) { in addTo() method in ChronoPeriodImpl
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 183 public Temporal addTo(Temporal temporal) { in factory_from_TemporalAmount_YearsDays() 206 public Temporal addTo(Temporal temporal) { in factory_from_TemporalAmount_Years_tooBig() 236 public Temporal addTo(Temporal temporal) { in factory_from_TemporalAmount_DaysHours() 662 public Temporal addTo(Temporal temporal) { in test_plus_TemporalAmount_DaysHours() 807 public Temporal addTo(Temporal temporal) { in test_minus_TemporalAmount_DaysHours() 1061 assertEquals(period.addTo(baseDate), expected); in test_addTo() 1071 Period.ZERO.addTo(null); in test_addTo_nullZero() 1076 Period.ofDays(2).addTo(null); in test_addTo_nullNonZero()
|
D | MockSimplePeriod.java | 141 public Temporal addTo(Temporal temporal) { in addTo() method in MockSimplePeriod
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | MockSimplePeriod.java | 141 public Temporal addTo(Temporal temporal) { in addTo() method in MockSimplePeriod
|
/libcore/ojluni/src/main/java/java/time/ |
D | Year.java | 650 return (Year) amountToAdd.addTo(this); in plus() 713 return unit.addTo(this, amountToAdd); in plus()
|
D | YearMonth.java | 744 return (YearMonth) amountToAdd.addTo(this); in plus() 811 return unit.addTo(this, amountToAdd); in plus()
|
D | Instant.java | 781 return (Instant) amountToAdd.addTo(this); in plus() 857 return unit.addTo(this, amountToAdd); in plus()
|
D | OffsetTime.java | 844 return (OffsetTime) amountToAdd.addTo(this); in plus() 877 return unit.addTo(this, amountToAdd); in plus()
|
D | OffsetDateTime.java | 1153 return (OffsetDateTime) amountToAdd.addTo(this); in plus() 1186 return unit.addTo(this, amountToAdd); in plus()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKChronoUnit.java | 172 Temporal result = unit.addTo(base, amount); in test_unitAndTemporal()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 274 public java.time.temporal.Temporal addTo(java.time.temporal.Temporal temporal) { in addTo() method in Duration
|