Completes EndDateComparator class