Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java529 HijrahDate plusMonths(long monthsToAdd) { in plusMonths() argument
530 if (monthsToAdd == 0) { in plusMonths()
534 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths()
DChronoLocalDateImpl.java259 abstract D plusMonths(long monthsToAdd); in plusMonths() argument
/libcore/ojluni/src/main/java/java/time/
DPeriod.java660 public Period plusMonths(long monthsToAdd) { in plusMonths() argument
661 if (monthsToAdd == 0) { in plusMonths()
664 return create(years, Math.toIntExact(Math.addExact(months, monthsToAdd)), days); in plusMonths()
DYearMonth.java840 public YearMonth plusMonths(long monthsToAdd) { in plusMonths() argument
841 if (monthsToAdd == 0) { in plusMonths()
845 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths()
DLocalDate.java1295 public LocalDate plusMonths(long monthsToAdd) { in plusMonths() argument
1296 if (monthsToAdd == 0) { in plusMonths()
1300 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths()