Commit e97194d8 authored by yanzg's avatar yanzg

修改保存历史记录

parent 1583ed6f
...@@ -32,4 +32,10 @@ public class TestDateHelper { ...@@ -32,4 +32,10 @@ public class TestDateHelper {
Date date1 = DateHelper.getDateTime("2010-1-1"); Date date1 = DateHelper.getDateTime("2010-1-1");
System.out.println("日期转换时间是否相等:" + (date.getTime() == date1.getTime())); System.out.println("日期转换时间是否相等:" + (date.getTime() == date1.getTime()));
} }
@Test
public void testDateHelper2() {
Date date = DateHelper.getDateTime("00:00:00");
System.out.println("日期转换时间是否相等:" + (date != null));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment