Add EventComparator
[unical.git] / src / ro / ieval / unical / EventComparator.java
1 package ro.ieval.unical;
2
3 import java.util.Comparator;
4
5 public class EventComparator implements Comparator<Event> {
6
7 @Override
8 public int compare(Event lhs, Event rhs) {
9 // TODO Auto-generated method stub
10 if(lhs.dtstart<rhs.dtstart) return -1;
11 if(lhs.dtstart==rhs.dtstart) return 0;
12 return 1;
13 }
14
15 }
This page took 0.020479 seconds and 4 git commands to generate.