Checks if this year is strictly before another year.
bool operator <(Year other) => value < other.value;