public void testOffset() {
Span span = new Span(_now, Calendar.SECOND, 1);
Span offsetSpan;
offsetSpan = new RepeaterYear().getOffset(span, 3, Pointer.PointerType.FUTURE);
assertEquals(Time.construct(2009, 8, 16, 14), offsetSpan.getBeginCalendar());
assertEquals(Time.construct(2009, 8, 16, 14, 0, 1), offsetSpan.getEndCalendar());
offsetSpan = new RepeaterYear().getOffset(span, 10, Pointer.PointerType.PAST);
assertEquals(Time.construct(1996, 8, 16, 14), offsetSpan.getBeginCalendar());
assertEquals(Time.construct(1996, 8, 16, 14, 0, 1), offsetSpan.getEndCalendar());
}