Noda Time
Compare Method (x, y)
NamespacesNodaTimeOffsetDateTime..::..ComparerCompare(OffsetDateTime, OffsetDateTime)

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

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration Syntax
C#Visual BasicVisual C++
public abstract int Compare(
	OffsetDateTime x,
	OffsetDateTime y
)
Public MustOverride Function Compare ( _
	x As OffsetDateTime, _
	y As OffsetDateTime _
) As Integer
public:
virtual int Compare(
	OffsetDateTime x, 
	OffsetDateTime y
) abstract
Parameters
x (OffsetDateTime)
The first object to compare.
y (OffsetDateTime)
The second object to compare.
Return Value
Value Condition Less than zerox is less than y.Zerox equals y.Greater than zerox is greater than y.

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