Return the year in the range [1 .. 9999] of this date.
[1 .. 9999]
Declared in <bdlt_date.h>
<bdlt_date.h>
int year() const;