예제 #1
0
 public TimeSpan TimeDistanceFrom(SpellHistoryItem other)
 {
     if (other.UseTime < this.UseTime)
         return other.UseTime.Subtract(this.UseTime);
     else
         return this.UseTime.Subtract(other.UseTime);
 }
 public TimeSpan TimeDistanceFrom(SpellHistoryItem other)
 {
     if (other.UseTime < this.UseTime)
     {
         return(other.UseTime.Subtract(this.UseTime));
     }
     else
     {
         return(this.UseTime.Subtract(other.UseTime));
     }
 }