|
|
@ -55,9 +55,9 @@ public class DcTrafficFlowWarning { |
|
|
|
// 格式化日期输出(可选)
|
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); |
|
|
|
DateTimeFormatter formatterStr = DateTimeFormatter.ofPattern("yyyy年M月d日"); |
|
|
|
// String formattedDate = dateAfterSevenDays.format(formatter);
|
|
|
|
String formattedDate = dateAfterSevenDays.format(formatter); |
|
|
|
String formattedDateStr = dateAfterSevenDays.format(formatterStr); |
|
|
|
String formattedDate ="2024-05-01"; |
|
|
|
// String formattedDate ="2024-05-01";
|
|
|
|
|
|
|
|
for (DcHolidays holidays : dcHolidaysList) { |
|
|
|
String vacation = holidays.getVacation(); |
|
|
|