Commit 16bcbfff by 杨卫

feat:预警引擎定时任务代码提交

1 parent e9674b69
......@@ -256,7 +256,7 @@ public class CommonUtil {
}
try {
Calendar todayCal = Calendar.getInstance();
todayCal.setTime(new Date(126, 5, 1));
todayCal.setTime(new Date());
int todayDayOfWeek = todayCal.get(Calendar.DAY_OF_WEEK);
int todayDayOfMonth = todayCal.get(Calendar.DAY_OF_MONTH);
int todayWeekOfYear = todayCal.get(Calendar.WEEK_OF_YEAR);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!