Click or drag to resize

DayCompareTo Method

Compares two Day instances for chronological ordering.

Namespace: DegreeDays.Time
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public int CompareTo(
	Day comparisonDay
)

Parameters

comparisonDay  Day
The Day to be compared.

Return Value

Int32
A 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