package seedu.address.model.util;

import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.model.ReadOnlyTaskManager;
import seedu.address.model.TaskManager;
import seedu.address.model.tag.Tag;
import seedu.address.model.task.Description;
import seedu.address.model.task.Name;
import seedu.address.model.task.Priority;
import seedu.address.model.task.Task;
import seedu.address.model.task.TaskDate;
import seedu.address.model.task.TaskTime;
import seedu.address.model.task.UniqueTaskList.DuplicateTaskException;
import seedu.address.model.task.Venue;

public class SampleDataUtil {

    //@@author A0147984L
    public static Task[] getSampleTasks() {
        try {
            return new Task[] {
                new Task(new Name("Gym"), new TaskDate("12/3"), new TaskTime("11:00"),
                        new Description("50 mins workout"), new Tag("personal"),
                        new Venue("MPSH"), new Priority("2"), true)
            };
        } catch (IllegalValueException e) {
            throw new AssertionError("sample data cannot be invalid", e);
        }
    }

    //@@author
    public static ReadOnlyTaskManager getSampleTaskManager() throws IllegalValueException {
        try {
            TaskManager sampleAB = new TaskManager();
            for (Task sampleTask : getSampleTasks()) {
                sampleAB.addTask(sampleTask);
            }
            return sampleAB;
        } catch (DuplicateTaskException e) {
            throw new AssertionError("sample data cannot contain duplicate persons", e);
        }
    }
}

@@ -256,24 +256,63 @@
 escription;%0A
+import seedu.address.model.task.Event;%0A
 import seedu
@@ -987,16 +987,1226 @@
 ty(%222%22),
+ true),%0A                new Task(new Name(%22cs 2103%22), new TaskDate(%22today%22), new TaskTime(%229:00%22),%0A                        new Description(%22demo%22), new Tag(%22study%22),%0A                        new Venue(%22COM1%22), new Priority(%223%22), true),%0A                new Event(new Name(%22cs final%22), new TaskDate(%224/5%22), new TaskTime(%2215:00%22),%0A                        new TaskTime(%2217:00%22), new Description(%22cannot bring helpsheet%22), new Tag(%22study%22),%0A                        new Venue(%22MPSH%22), new Priority(%223%22), true),%0A                new Task(new Name(%22clean up room%22), new TaskDate(%224/5%22), new TaskTime(%229:00%22),%0A                        new Description(%22get ready to go home%22), new Tag(%22personal%22),%0A                        new Venue(%22%22), new Priority(%221%22), false),%0A                new Task(new Name(%22pay tuition fee%22), new TaskDate(%2225/3/2017%22), new TaskTime(%22%22),%0A                        new Description(%22don't forget!!!!%22), new Tag(%22%22),%0A                        new Venue(%22%22), new Priority(%223%22), false),%0A                new Task(new Name(%22study hard%22), new TaskDate(%22%22), new TaskTime(%22%22),%0A                        new Description(%22goal in my life%22), new Tag(%22study%22),%0A                        new Venue(%22%22), new Priority(%223%22),
  true)%0A 

add more sample data for demo