See CALENDAR and the corrensponding files in the TUTORIAL directory.
A full explaination is listed in the Programmer's Guide Chapter 6.
