Searched refs:monthsToAdd (Results 1 – 5 of 5) sorted by relevance
529 HijrahDate plusMonths(long monthsToAdd) { in plusMonths() argument530 if (monthsToAdd == 0) { in plusMonths()534 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths()
259 abstract D plusMonths(long monthsToAdd); in plusMonths() argument
660 public Period plusMonths(long monthsToAdd) { in plusMonths() argument661 if (monthsToAdd == 0) { in plusMonths()664 return create(years, Math.toIntExact(Math.addExact(months, monthsToAdd)), days); in plusMonths()
840 public YearMonth plusMonths(long monthsToAdd) { in plusMonths() argument841 if (monthsToAdd == 0) { in plusMonths()845 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths()
1295 public LocalDate plusMonths(long monthsToAdd) { in plusMonths() argument1296 if (monthsToAdd == 0) { in plusMonths()1300 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths()