1.日期工具类修改

This commit is contained in:
wr
2023-09-21 15:15:04 +08:00
parent d868558c6e
commit 511924fd75

View File

@@ -31,7 +31,7 @@ public class NjcnDateUtils {
List<String> dates = new ArrayList<>();
//创建时间解析对象规定解析格式
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
//将传入的时间解析成Date类型,相当于格式化
Date dBegin = null;