Return the value of the year attribute of this object.
year
Declared in <bdlt_datetime.h>
<bdlt_datetime.h>
int year() const;