Date


superclasses:

DateTime

attributes:

[year] Integer

[month] Integer

[day] Integer

restricted:

month : 1..12

day : 1..31

constraints:

month - unsigned integer.

day - unsigned integer.

comments:

This corresponds exactly to the SQL type, Date, with the following exceptions. Unlike SQL, the year may be negative implying BC (or BCE) on the Gregorian calendar. Note also that the default for year, month and day is nil.


Links to Section 3.3 and the complete SAIF class list