Compares two Day instances for chronological ordering.
Namespace:
DegreeDays.Time
Assembly:
DegreeDays (in DegreeDays.dll) Version: 1.3
Syntaxpublic int CompareTo(
Day comparisonDay
)
Public Function CompareTo (
comparisonDay As Day
) As Integer
Parameters
- comparisonDay
- Type: DegreeDays.TimeDay
The Day to be compared.
Return Value
Type:
Int32A negative integer if this
Day is before
comparisonDay; zero if this
Day is
equal to
comparisonDay; or a positive integer if
this
Day is after
comparisonDay.
Implements
IComparableTCompareTo(T)
See Also