assertEquals(Time.construct(2006, 8, 16, 16), nextNextHour.getBeginCalendar());
assertEquals(Time.construct(2006, 8, 16, 17), nextNextHour.getEndCalendar());
}
public void testNextPast() {
RepeaterHour hours = new RepeaterHour();
hours.setStart(_now);
Span lastHour = hours.nextSpan(Pointer.PointerType.PAST);
assertEquals(Time.construct(2006, 8, 16, 13), lastHour.getBeginCalendar());
assertEquals(Time.construct(2006, 8, 16, 14), lastHour.getEndCalendar());
Span lastLastHour = hours.nextSpan(Pointer.PointerType.PAST);
assertEquals(Time.construct(2006, 8, 16, 12), lastLastHour.getBeginCalendar());
assertEquals(Time.construct(2006, 8, 16, 13), lastLastHour.getEndCalendar());
}