assertEquals(Time.construct(2006, 8, 27), nextNextWeek.getBeginCalendar());
assertEquals(Time.construct(2006, 9, 3), nextNextWeek.getEndCalendar());
}
public void testNextPast() {
RepeaterWeek weeks = new RepeaterWeek();
weeks.setStart(_now);
Span lastWeek = weeks.nextSpan(Pointer.PointerType.PAST);
assertEquals(Time.construct(2006, 8, 6), lastWeek.getBeginCalendar());
assertEquals(Time.construct(2006, 8, 13), lastWeek.getEndCalendar());
Span lastLastWeek = weeks.nextSpan(Pointer.PointerType.PAST);
assertEquals(Time.construct(2006, 7, 30), lastLastWeek.getBeginCalendar());
assertEquals(Time.construct(2006, 8, 6), lastLastWeek.getEndCalendar());
}