Compares two dates chronologically.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int CompareTo(
Date that
)
Parameters
- that
- Type: Algs4NetDate
the other date
Return Value
Type:
Int32the 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