Exemplo n.º 1
0
        int IComparable.CompareTo(object obj)
        {
            DayTimeDurationValue other = obj as DayTimeDurationValue;

            if (other == null)
            {
                throw new ArgumentException("obj");
            }
            return(LowPartValue.CompareTo(other.LowPartValue));
        }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(LowPartValue.GetHashCode() ^ HighPartValue.GetHashCode());
 }