Gets the year field.
This method returns the primitive int value for the year.
int
The year returned by this method is proleptic as per get(YEAR). To obtain the year-of-era, use get(YEAR_OF_ERA).
get(YEAR)
get(YEAR_OF_ERA)
Returns: the year, from MIN_YEAR to MAX_YEAR
Diagram: LocalDate