public int CompareTo(UTCDate other) { if (ReferenceEquals(this, other)) { return(0); } if (ReferenceEquals(null, other)) { return(1); } return(_datetime.CompareTo(other._datetime)); }
public bool Equals(UTCDate other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(_datetime.Equals(other._datetime)); }