2018-12-27 12:29:41 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace RhinoReminds
|
|
|
|
|
{
|
|
|
|
|
public class CompareReminders : IComparer<Reminder>
|
|
|
|
|
{
|
|
|
|
|
public CompareReminders()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int Compare(Reminder x, Reminder y)
|
|
|
|
|
{
|
2019-03-28 20:35:28 +00:00
|
|
|
|
return x.Time.CompareTo(y.Time);
|
2018-12-27 12:29:41 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|