/// <summary> /// Compares internal data for equality. /// </summary> public bool Equals(ClockTime b) { if (hours != b.hours) { return(false); } if (!timePastHour.Equals(b.timePastHour)) { return(false); } return(true); }
/// <summary> /// Compares internal data for equality. /// </summary> public static bool Equals(ClockTime a, ClockTime b) { return(a.Equals(b)); }