基于API,似乎没有直接选择include的方法。
一种可能是,只需将+1加到天数上即可。
List<LocalDate> dates = new ArrayList<LocalDate>();int days = Days.daysBetween(startDate, endDate).getDays()+1;for (int i=0; i < days; i++) { LocalDate d = startDate.withFieldAdded(DurationFieldType.days(), i); dates.add(d);}


