IndexGranularity: Fix increment for day, week

This commit is contained in:
Gian Merlino 2013-03-11 11:08:44 -07:00
parent d9b9f73494
commit f8d9a3b19b
1 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ public enum IndexGranularity
@Override
public long increment(long timeMillis)
{
return timeMillis - MILLIS_IN;
return timeMillis + MILLIS_IN;
}
@Override
@ -273,7 +273,7 @@ public enum IndexGranularity
@Override
public long increment(long timeMillis)
{
return timeMillis - MILLIS_IN;
return timeMillis + MILLIS_IN;
}
@Override