compareDeadline