提交 7d2778fa 编写于 作者: X xvrl

fix TimeBoundaryQuery to properly handle timestamps prior to 1970

上级 09a31e59
......@@ -42,7 +42,7 @@ import java.util.Map;
*/
public class TimeBoundaryQuery extends BaseQuery<Result<TimeBoundaryResultValue>>
{
public static final Interval MY_Y2K_INTERVAL = new Interval(new DateTime(0), new DateTime("3000-01-01"));
public static final Interval MY_Y2K_INTERVAL = new Interval(new DateTime(Long.MIN_VALUE), new DateTime(Long.MAX_VALUE));
public static final String MAX_TIME = "maxTime";
public static final String MIN_TIME = "minTime";
private static final byte CACHE_TYPE_ID = 0x0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册