The comparison is based on the value of the year. It is "consistent with equals", as defined by {@link Comparable}.
@param other the other year to compare to, not null
@return the comparator value, negative if less, positive if greater
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.