1.LocalDate 无法解析只有年月的字符串,需要手动设置 添加日
YearMonth yearMonth = YearMonth.parse(startTime); LocalDate localDate = yearMonth.atDay(1);
1.LocalDate 无法解析只有年月的字符串,需要手动设置 添加日
YearMonth yearMonth = YearMonth.parse(startTime); LocalDate localDate = yearMonth.atDay(1);