I\'m trying to split a date range into individual dates in the following way:
private static void splitDates(LocalDate dateFrom, LocalDate dateTo) { whil
Because method plusDays doesn't change variable dateFrom. You should do like this:
dateFrom = dateFrom.plusDays(1L);