Compares two instances of TimeOfDay and returns an indication of their relative values.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public static int Compare(
	TimeOfDay d1,
	TimeOfDay d2
)
Visual Basic (Declaration)
Public Shared Function Compare ( _
	d1 As TimeOfDay, _
	d2 As TimeOfDay _
) As Integer

Parameters

d1
Type: DlhSoft.Windows.Data..::.TimeOfDay
The first TimeOfDay instance.
d2
Type: DlhSoft.Windows.Data..::.TimeOfDay
The second TimeOfDay instance.

Return Value

A signed number indicating the relative values of d1 and d2: less than zero indicates that d1 is less than d2, zero indicates that d1 equals d2, greater than zero indicates that d1 is greater than d2.

See Also