add day to new date java code example
Example 1: add days to date java
LocalDate date=LocalDate.now();
date.addDays(1);
System.out.println(date);
Example 2: calendar java add 1 day
Calendar c = Calendar.getInstance(TimeZone.getDefault());
c.add( Calendar.DATE, 1 );