added advanceCalendar method