From fa125c526a6d1c714df0d37cebeffd0c93b74c00 Mon Sep 17 00:00:00 2001 From: Petru Trimbitas Date: Sun, 9 Jun 2013 11:38:58 +0300 Subject: [PATCH] Add EventComparator --- src/ro/ieval/unical/EventComparator.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/ro/ieval/unical/EventComparator.java diff --git a/src/ro/ieval/unical/EventComparator.java b/src/ro/ieval/unical/EventComparator.java new file mode 100644 index 0000000..3fbb35a --- /dev/null +++ b/src/ro/ieval/unical/EventComparator.java @@ -0,0 +1,15 @@ +package ro.ieval.unical; + +import java.util.Comparator; + +public class EventComparator implements Comparator { + + @Override + public int compare(Event lhs, Event rhs) { + // TODO Auto-generated method stub + if(lhs.dtstart