Allow setting the calendar type.