Returns a copy with the specified number of days added.
Syntax
date.plusDays(days)Example
Enter values below to update the example in real time.
LocalDate→today→nextWeek→plusDays→System→out→println→LocalDate today = LocalDate.now();
LocalDate nextWeek = today.plusDays(7);
System.out.println(nextWeek);