|Returns||the Year part of the date. (Valid Range -9999 to 9999)|
|Description||Gets the Year part of the date. (Valid Range -9999 to 9999)|
NOTE: CDateTime uses the XML Schema formula for proleptic Gregorian calendar where year 0 is illegal and -4 (4BC) as a leap year.
Throws: LtInvalidStateException thrown if the type is not gDate, gDateTime, gYear or gYearMonth