adjusted project structure
This commit is contained in:
1 parent
aa7310d495
commit
904b32f986
18 files changed
+79
-212
No files matched your search
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using HandyControl.Data;
|
||||
|
||||
namespace HandyControl.Tools
|
||||
{
|
||||
public class DateTimeRangeComparer : IComparer<DateTimeRange>
|
||||
{
|
||||
public int Compare(DateTimeRange x, DateTimeRange y)
|
||||
{
|
||||
if (x.Start > y.Start && x.End > y.End) return 1;
|
||||
if (x.Start < y.Start && x.End < y.End) return -1;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user