Comparison operators for the year field.