Noda Time
CompareTo Method (other)
NamespacesNodaTimeZonedDateTimeCompareTo(ZonedDateTime)

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

Indicates whether this date/time is earlier, later or the same as another one.
Declaration Syntax
C#Visual BasicVisual C++
public int CompareTo(
	ZonedDateTime other
)
Public Function CompareTo ( _
	other As ZonedDateTime _
) As Integer
public:
virtual int CompareTo(
	ZonedDateTime other
) sealed
Parameters
other (ZonedDateTime)
The other zoned date/time to compare this one with
Return Value
A value less than zero if the instant represented by this zoned date/time is earlier than the one in other; zero if the instant is the same as the one in other; a value greater than zero if the instant is later than the one in other.
Remarks
This is purely done in terms of the instant represented; the calendar system and time zone are ignored.

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