int IComparable.CompareTo(object obj) { DayTimeDurationValue other = obj as DayTimeDurationValue; if (other == null) { throw new ArgumentException("obj"); } return(LowPartValue.CompareTo(other.LowPartValue)); }
public override int GetHashCode() { return(LowPartValue.GetHashCode() ^ HighPartValue.GetHashCode()); }