Compares two instances of Date and returns an indication of their relative values.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public static int Compare( Date d1, Date d2 ) |
Visual Basic (Declaration) |
---|
Public Shared Function Compare ( _ d1 As Date, _ d2 As Date _ ) As Integer |
Parameters
- d1
- Type: DlhSoft.Windows.Data..::.Date
The first Date instance.
- d2
- Type: DlhSoft.Windows.Data..::.Date
The second Date instance.