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