Is there a usablility to get all dates between two dates in the new java.time API?
java.time
Let\'s say I have this part of code:
The ThreeTen-Extra library has a LocalDateRange class that can do exactly what you're requesting:
LocalDateRange.ofClosed(startDate, endDate).stream() .forEach(/* ...do the stuff with the new date... */);