Inheritance: EncodableDataType, IUTCOffset
Exemple #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));
        }
Exemple #2
0
 protected bool Equals(UTCOffset other)
 {
     return(Offset == other.Offset);
 }