|
@@ -45,6 +45,8 @@ public class DateUtils {
|
|
|
* 获取时间段之间的年月份
|
|
|
*/
|
|
|
public static List<String> getMonthdateList(String startTime,String endTime){
|
|
|
+ startTime = startTime.replace(" 00:00:00","");
|
|
|
+ endTime = endTime.replace(" 23:59:59","");
|
|
|
List<String> dateList = new ArrayList<>();
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyy-MM-dd");
|
|
|
LocalDate start = LocalDate.parse(startTime, formatter);
|