Method Detail

getYear

int getYear()

Yields the proleptic year according to ISO-8601.

The term proleptic means that the gregorian calendar rules
are applied backwards even before the introduction of this calendar.
Second: The year numbering is just the mathematical one as defined
in ISO-8601 such that there is a year zero and even negative years:
-2 = BC 3, -1 = BC 2, 0 = BC 1, 1 = AD 1, 2 = AD 2, ...