This commit is contained in:
NaBian committed 2020-07-14 23:09:13 +08:00
1 parent 25a6117ee1
commit d4e32272a2
19 files changed
+349 -148

No files matched your search

@@ -0,0 +1,15 @@
using System.Collections.Generic;
using HandyControl.Data;
namespace HandyControl.Collections
{
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;
}
}
}