Checks if this year is before or the same as another year.
bool operator <=(Year other) => value <= other.value;