Fix the bug in displayHandler that throws an exception for tasks that don't have start times. Move startDateEqualsEndDate into Task class, and create new function startTimeEqualsEndTime. These two functions help displayHandler to display the task properly.