LocalDate curDay = start;
List<LocalDate> result = new ArrayList<>();
while (curDay.isBefore(end) || curDay.isEqual(end)) {
    result.add(curDay);
    curDay = curDay.plusDays(1);
}
return result;