1、2个日期时间范围输出之间的时间
LocalDate start = LocalDate.of(2018, 01, 01);
LocalDate end = LocalDate.of(2019, 03 + 1, 01);
List<LocalDate> dates = Stream.iterate(start, date -> date.plusMonths(1))
.limit(ChronoUnit.MONTHS.between(start, end))
.collect(Collectors.toList());
System.out.println(dates);