提交 5fca65e0 authored 作者: Thomas Mueller's avatar Thomas Mueller

Fix test case.

上级 59b691be
...@@ -896,7 +896,7 @@ public class TestFunctions extends TestBase implements AggregateFunction { ...@@ -896,7 +896,7 @@ public class TestFunctions extends TestBase implements AggregateFunction {
rs.next(); rs.next();
Calendar c = Calendar.getInstance(); Calendar c = Calendar.getInstance();
c.setTime(rs.getTimestamp(1)); c.setTime(rs.getTimestamp(1));
c.set(Calendar.HOUR, 0); c.set(Calendar.HOUR_OF_DAY, 0);
c.set(Calendar.MINUTE, 0); c.set(Calendar.MINUTE, 0);
c.set(Calendar.SECOND, 0); c.set(Calendar.SECOND, 0);
c.set(Calendar.MILLISECOND, 0); c.set(Calendar.MILLISECOND, 0);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论