| 59);
calendar.set(
Calendar.MILLISECOND,
999);
BinningStrategy bin = getStrategyByUnit(Unit.DAY);
Assert.assertEquals(
expectedMin,
bin.getBinMin(),
DELTA);
Assert.assertEquals(
expectedMax,
bin.getBinMax(),
DELTA);
Assert.assertEquals(
bin.getBinMax(),
bin.getBinnedValue(
calendar.getTimeInMillis()).getNormalizedValue(),
DELTA);
};
|