Represents a duration as an unit and a quantity.
예제 #1
0
 /// <summary>
 /// Checks if the duration is equal to another one.
 /// </summary>
 /// <param name="other">The duration to compare to.</param>
 /// <returns>True if both Durations represents the same duration.</returns>
 public bool Equals(Duration other)
 {
     return(this.duration == other.duration);
 }