Noda Time
CompareTo Method (other)
NamespacesNodaTimeLocalTimeCompareTo(LocalTime)

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

Indicates whether this time is earlier, later or the same as another one.
Declaration Syntax
C#Visual BasicVisual C++
public int CompareTo(
	LocalTime other
)
Public Function CompareTo ( _
	other As LocalTime _
) As Integer
public:
virtual int CompareTo(
	LocalTime other
) sealed
Parameters
other (LocalTime)
The other date/time to compare this one with
Return Value
A value less than zero if this time is earlier than other; zero if this time is the same as other; a value greater than zero if this time is later than other.

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