Searched refs:daysToAdd (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
H A DPeriod.java676 * @param daysToAdd the days to add, positive or negative
680 public Period plusDays(long daysToAdd) { argument
681 if (daysToAdd == 0) {
684 return create(years, months, Math.toIntExact(Math.addExact(days, daysToAdd)));
H A DDuration.java722 * @param daysToAdd the days to add, positive or negative
726 public Duration plusDays(long daysToAdd) { argument
727 return plus(Math.multiplyExact(daysToAdd, SECONDS_PER_DAY), 0);
H A DLocalDate.java1336 * @param daysToAdd the days to add, may be negative
1340 public LocalDate plusDays(long daysToAdd) { argument
1341 if (daysToAdd == 0) {
1344 long mjDay = Math.addExact(toEpochDay(), daysToAdd);
/libcore/ojluni/src/main/java/java/time/chrono/
H A DChronoLocalDateImpl.java287 * @param daysToAdd the days to add, may be negative
291 abstract D plusDays(long daysToAdd); argument

Completed in 68 milliseconds