Inheritance: EncodableDataType, IUTCOffset
Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            UTCOffset o = obj as UTCOffset;

            if (o != null)
            {
                return(object.Equals(Positive, o.Positive) &&
                       object.Equals(Hours, o.Hours) &&
                       object.Equals(Minutes, o.Minutes) &&
                       object.Equals(Seconds, o.Seconds));
            }
            return(base.Equals(obj));
        }
Ejemplo n.º 2
0
 protected bool Equals(UTCOffset other)
 {
     return(Offset == other.Offset);
 }