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)); }
protected bool Equals(UTCOffset other) { return(Offset == other.Offset); }