I'm trying to use a for loop through iterate through a range of dates, and I was going to increment the start date using plusDays, but I get "cannot resolve method plusDays in Date". Here is my code:
for(Date date = finalSD; date.before(finalED); date = date.plusDays(1)){
myBookings.put(finalSD,fac);
}