Home
last modified time | relevance | path

Searched refs:daysToAdd (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DPeriod.java680 public Period plusDays(long daysToAdd) { in plusDays() argument
681 if (daysToAdd == 0) { in plusDays()
684 return create(years, months, Math.toIntExact(Math.addExact(days, daysToAdd))); in plusDays()
DLocalDate.java1340 public LocalDate plusDays(long daysToAdd) { in plusDays() argument
1341 if (daysToAdd == 0) { in plusDays()
1344 long mjDay = Math.addExact(toEpochDay(), daysToAdd); in plusDays()
DDuration.java726 public Duration plusDays(long daysToAdd) { in plusDays() argument
727 return plus(Math.multiplyExact(daysToAdd, SECONDS_PER_DAY), 0); in plusDays()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateImpl.java291 abstract D plusDays(long daysToAdd); in plusDays() argument
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java189 public java.time.Duration plusDays(long daysToAdd) { in plusDays() argument