public override bool Equals(Object obj) { if (obj is TickClock) { TickClock other = (TickClock)obj; return(BaseClock.Equals(other.BaseClock) && TickNanos == other.TickNanos); } return(false); }
public override bool Equals(Object obj) { if (obj is OffsetClock) { OffsetClock other = (OffsetClock)obj; return(BaseClock.Equals(other.BaseClock) && Offset.Equals(other.Offset)); } return(false); }