package seedu.tasklist.logic;

import javafx.collections.ObservableList;
import seedu.tasklist.logic.commands.CommandResult;
import seedu.tasklist.logic.commands.exceptions.CommandException;
import seedu.tasklist.model.task.ReadOnlyTask;

/**
 * API of the Logic component
 */
public interface Logic {
    /**
     * Executes the command and returns the result.
     * @param commandText The command as entered by the user.
     * @return the result of the command execution.
     * @throws CommandException If an error occurs during command execution.
     */
    CommandResult execute(String commandText) throws CommandException;

    /** Returns the filtered list of tasks */
    ObservableList<ReadOnlyTask> getFilteredTaskList();

}

@@ -729,10 +729,279 @@
 ist();%0A%0A
+    //@@author A0143355J%0A    /* Returns the today's filtered list of tasks */%0A    ObservableList%3CReadOnlyTask%3E getTodayTaskList();%0A%0A    //@@author A0143355J%0A    /* Returns tomorrow's filtered list of of tasks */%0A    ObservableList%3CReadOnlyTask%3E getTomorrowTaskList();%0A%0A
 %7D%0A

add getTodayTaskList and getTommorrowTaskList to Logic