public static int Compare(SchedulerTime t1, SchedulerTime t2)
 {
     if (t1.ticks > t2.ticks)
     {
         return(1);
     }
     if (t1.ticks < t2.ticks)
     {
         return(-1);
     }
     return(0);
 }
 public static bool Equals(SchedulerTime t1, SchedulerTime t2)
 {
     return(t1.ticks == t2.ticks);
 }
Beispiel #3
0
 //| <include path='docs/doc[@for="SchedulerTime.Subtract"]/*' />
 public TimeSpan Subtract(SchedulerTime value)
 {
     return(new TimeSpan(ticks - value.ticks));
 }