/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
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriod.java | 302 Temporal addTo(Temporal temporal); in addTo() method
|
D | ChronoLocalDate.java | 462 return ChronoLocalDateImpl.ensureValid(getChronology(), unit.addTo(this, amountToAdd)); in plus()
|
D | ChronoPeriodImpl.java | 258 public Temporal addTo(Temporal temporal) { in addTo() method in ChronoPeriodImpl
|
D | ChronoZonedDateTimeImpl.java | 305 …return ChronoZonedDateTimeImpl.ensureValid(getChronology(), unit.addTo(this, amountToAdd)); /// … in plus()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoPeriod.java | 204 Temporal result = period.addTo(date); in test_addTo() 214 period.addTo(isoDate); in test_addTo_wrongChrono() 215 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 | CopticDate.java | 273 return unit.addTo(this, amountToAdd); in plus()
|
/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/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()
|
/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 | 782 return (Instant) amountToAdd.addTo(this); in plus() 858 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()
|
D | LocalTime.java | 1005 return (LocalTime) amountToAdd.addTo(this); in plus() 1074 return unit.addTo(this, amountToAdd); in plus()
|
D | LocalDateTime.java | 1146 return (LocalDateTime) amountToAdd.addTo(this); in plus() 1190 return unit.addTo(this, amountToAdd); in plus()
|
D | LocalDate.java | 1143 return (LocalDate) amountToAdd.addTo(this); in plus() 1243 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
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 257 LocalDate adjusted = IsoFields.WEEK_BASED_YEARS.addTo(date, j); in test_addTo_weekBasedYears()
|