Commit ab091a7d zshaohui

1.解析日期,不递进

1 个父辈 19d9d30f
...@@ -89,7 +89,7 @@ public class DateUtil { ...@@ -89,7 +89,7 @@ public class DateUtil {
SimpleDateFormat df; SimpleDateFormat df;
Date date; Date date;
df = new SimpleDateFormat(aMask); df = new SimpleDateFormat(aMask);
df.setLenient(false);
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.debug("converting '" + strDate + "' to date with mask '" + aMask + "'"); log.debug("converting '" + strDate + "' to date with mask '" + aMask + "'");
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!