@@ -0,0 +1,1158 @@
+package seedu.address.logic.commands;%0A%0Aimport java.time.LocalDateTime;%0A%0Aimport seedu.address.commons.exceptions.IllegalValueException;%0Aimport seedu.address.model.task.DeadlineTask;%0A%0A/**%0A * Adds an deadline task to the task book.%0A */%0Apublic class AddDeadlineCommand extends Command %7B%0A%0A    public static final String COMMAND_WORD = %22due%22;%0A%0A    public static final String MESSAGE_USAGE = COMMAND_WORD + %22: Adds a deadline to the task book. %22%0A            + %22Parameters: %5C%22NAME%5C%22 %3CDUE_DATE%3E %3CDUE_TIME%3E%5Cn%22%0A            + %22Example: %22 + COMMAND_WORD%0A            + %22 %5C%22Speech Transcript%5C%22 11pm%22;%0A%0A    public static final String MESSAGE_SUCCESS = %22New deadline added: %251$s%22;%0A%0A    private final DeadlineTask deadlineTask;%0A%0A    public AddDeadlineCommand(String name, LocalDateTime due) throws IllegalValueException %7B%0A        deadlineTask = new DeadlineTask(name, due);%0A    %7D%0A%0A    public DeadlineTask getDeadlineTask() %7B%0A        return deadlineTask;%0A    %7D%0A%0A    @Override%0A    public CommandResult execute() %7B%0A        assert model != null;%0A        model.addDeadlineTask(deadlineTask);%0A        return new CommandResult(String.format(MESSAGE_SUCCESS, deadlineTask));%0A    %7D%0A%0A%7D%0A

implement AddDeadlineCommand