Click or drag to resize
DateCompareTo Method
Compares two dates chronologically.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int CompareTo(
	Date that
)

Parameters

that
Type: Algs4NetDate
the other date

Return Value

Type: Int32
the value 0 if the argument date is equal to this date; a negative integer if this date is chronologically less than the argument date; and a positive ineger if this date is chronologically after the argument date

Implements

IComparableTCompareTo(T)
See Also