First draft of new GetCalendar() function.