Noda Time
CompareTo Method (other)
NamespacesNodaTimeInstantCompareTo(Instant)

[This is preliminary documentation and is subject to change.]

Compares the current object with another object of the same type.
Declaration Syntax
C#Visual BasicVisual C++
public int CompareTo(
	Instant other
)
Public Function CompareTo ( _
	other As Instant _
) As Integer
public:
virtual int CompareTo(
	Instant other
) sealed
Parameters
other (Instant)
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:
ValueMeaning
< 0
This object is less than the other parameter.
0
This object is equal to other.
> 0
This object is greater than other.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)