public int compareTo(CalendarElement element) { return(compareDate(this, element)); }
// Returns 1 if x happened after y, -1 if y happened after x, 0 if same date public static int compareDate(CalendarElement x, CalendarElement y) { return(HarptosCalendar.FarthestInTime(x.Date, y.Date)); }