ShiftTypeCompareTo Method

Compare by start times. If start time is the same then compare by ID.

Definition

Namespace: ASAP.NRP.Core
Assembly: NRP (in NRP.dll) Version: 3.49.0+964b2dfb493dfda37da83e5373992cb1cc934e98
C#
public int CompareTo(
	ShiftType s
)

Parameters

s  ShiftType
The ShiftType to compare to.

Return Value

Int32
Less than zero if this ShiftType precedes s, greater than zero if it follows s, zero otherwise.

Implements

IComparableTCompareTo(T)

See Also