Span nextYear = years.nextSpan(Pointer.PointerType.FUTURE);
assertEquals(Time.construct(2007, 1, 1), nextYear.getBeginCalendar());
assertEquals(Time.construct(2008, 1, 1), nextYear.getEndCalendar());
Span nextNextYear = years.nextSpan(Pointer.PointerType.FUTURE);
assertEquals(Time.construct(2008, 1, 1), nextNextYear.getBeginCalendar());
assertEquals(Time.construct(2009, 1, 1), nextNextYear.getEndCalendar());
}
public void testNextPast() {