@Test
public void testReplaceAliasPastYear() {

	Calendar calendar = new GregorianCalendar(
		2018, Calendar.MAY, 15, 23, 59, 59);
	Assert.assertEquals(
		"[20170515235959 TO 20180415235959]",
		_dateRangeFactory.replaceAliases(
			"[past-year TO past-month]", calendar));
}