Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Compares internal data for equality.
 /// </summary>
 public static bool Equals(ClockTime a, ClockTime b)
 {
     return(a.Equals(b));
 }