Return the cached year field.
Declared in <bdlt_dateformatter.h>
<bdlt_dateformatter.h>
int year() const;
year component of the cached date