package seedu.ezdo.commons.util;

import seedu.ezdo.model.todo.ReadOnlyTask;

/*
 * Checks for dates 
 */
public class DateUtil {
    public boolean checkTaskDate(ReadOnlyTask task) {
	return true;
    }
}

@@ -27,16 +27,108 @@
 .util;%0A%0A
+import java.text.ParseException;%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Date;%0A%0A
 import s
@@ -226,16 +226,23 @@
  public 
+static 
 boolean 
@@ -274,17 +274,397 @@
 k task) 
-%7B
+throws ParseException %7B%0A%09SimpleDateFormat df = new SimpleDateFormat(%22dd/MM/yyyy H:mm%22);%0A%09Date startDate = df.parse(task.getStartDate().toString());%0A%09Date dueDate = df.parse(task.getDueDate().toString());%0A%09if (task.getStartDate().toString().equals(%22%22) %7C%7C task.getDueDate().toString().equals(%22%22)) %7B%0A%09    return true;%0A%09%7D%0A%09if (startDate.compareTo(dueDate) %3E= 0) %7B%0A%09    return false;%0A%09%7D
 %0A%09return

Add DateUtil class