compareTo

open operator override fun compareTo(other: Year): Int

Compares two years.