fix TimeBoundaryQuery to properly handle timestamps prior to 1970

This commit is contained in:
xvrl 2012-11-28 13:12:38 -08:00
parent 09a31e5995
commit 7d2778fae6
1 changed files with 1 additions and 1 deletions

View File

@ -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;