Made DateParser throw an invalid date format exception. Also implemented completedTask in logic.