@Test
public void testNamedRange() {

	Calendar calendar = new GregorianCalendar(
		2018, Calendar.MARCH, 1, 16, 30, 42);
	Assert.assertEquals(
		"[20180301153042 TO 20180301163042]",
		_dateRangeFactory.getRangeString("past-hour", calendar));
	Assert.assertEquals(
		"[20180228163042 TO 20180301163042]",
		_dateRangeFactory.getRangeString("past-24-hours", calendar));
}