Creating an IDate Object

You can create an IDate object using different IDate constructors. For example:

IDate OneDay(IDate::June,30,1994);         // Month, day, year
IDate AnotherDay(23,IDate::April,1961);    // Day, month, year
IDate SomeDay(940616);                     // Julian date format
IDate Yesterday(1994,177);                 // Year, day of year

The constructors accepting a month use the IDate enumeration Month, whose members are named January through December (the months of the year in English).