Returns the hash code for this interval, consistent with Equals(DateInterval).
Equals(DateInterval)
@override int get hashCode => hash2(start, end);