Noda Time
CompareTo Method (other)
Compares the current object with another object of the same type.
Declaration Syntax
C#Visual BasicVisual C++
public int CompareTo(
	Duration other
Public Function CompareTo ( _
	other As Duration _
) As Integer
virtual int CompareTo(
	Duration other
) sealed
other (Duration)
An object to compare with this object.
Return Value
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings:
< 0
This object is less than the other parameter.
This object is equal to other.
> 0
This object is greater than other.

Assembly: NodaTime (Module: NodaTime) Version: (1.0.1)