@@ -0,0 +1,1187 @@
+package seedu.address.logic.commands;%0A%0Aimport java.time.LocalDateTime;%0A%0Aimport seedu.address.commons.exceptions.IllegalValueException;%0Aimport seedu.address.model.task.EventTask;%0A%0A/**%0A * Adds an event task to the task book.%0A */%0Apublic class AddEventCommand extends Command %7B%0A%0A    public static final String COMMAND_WORD = %22event%22;%0A%0A    public static final String MESSAGE_USAGE = COMMAND_WORD + %22: Adds an event to the task book. %22%0A            + %22Parameters: %5C%22NAME%5C%22 %3CSTARTING_DATE%3E %3CSTARTING_TIME%3E %3CENDING_DATE%3E %3CENDING_TIME%3E%5Cn%22%0A            + %22Example: %22 + COMMAND_WORD%0A            + %22 %5C%22Lunch with Bill Gates%5C%22 12pm 2pm%22;%0A%0A    public static final String MESSAGE_SUCCESS = %22New event added: %251$s%22;%0A%0A    private final EventTask eventTask;%0A%0A    public AddEventCommand(String name, LocalDateTime start, LocalDateTime end) throws IllegalValueException %7B%0A        eventTask = new EventTask(name, start, end);%0A    %7D%0A%0A    public EventTask getEventTask() %7B%0A        return eventTask;%0A    %7D%0A%0A    @Override%0A    public CommandResult execute() %7B%0A        assert model != null;%0A        model.addEventTask(eventTask);%0A        return new CommandResult(String.format(MESSAGE_SUCCESS, eventTask));%0A    %7D%0A%0A%7D%0A

implement AddEventCommand