A B C D E F G H I L M O P R S T U V W 
All Classes All Packages

A

add(String) - Method in class duchess.model.DuchessHistory
 
ADD_TYPE_PROMPT - Static variable in class duchess.parser.Parser
Prompts.
AddDeadlineCommand - Class in duchess.logic.commands
Command to add a given deadline task to the tasklist.
AddDeadlineCommand(String, LocalDateTime) - Constructor for class duchess.logic.commands.AddDeadlineCommand
Create a command to add a deadline.
AddDeadlineCommand(String, LocalDateTime, String) - Constructor for class duchess.logic.commands.AddDeadlineCommand
 
AddDeadlineCommand(String, LocalDateTime, String, int) - Constructor for class duchess.logic.commands.AddDeadlineCommand
 
addEntry(List<CalendarEntry>, Task, LocalDate) - Static method in class duchess.model.calendar.CalendarManager
Adds a task to the task list of a calendar entry stored in the duchess calendar.
AddEventCommand - Class in duchess.logic.commands
Command to add a given event task to the tasklist.
AddEventCommand(String, LocalDateTime, LocalDateTime) - Constructor for class duchess.logic.commands.AddEventCommand
Creates a command to add an event.
AddEventCommand(String, LocalDateTime, LocalDateTime, String) - Constructor for class duchess.logic.commands.AddEventCommand
 
AddEventCommand(String, LocalDateTime, LocalDateTime, String, double) - Constructor for class duchess.logic.commands.AddEventCommand
 
addGrade(Grade) - Method in class duchess.model.Module
Adds a given grade object to the module.
AddGradeCommand - Class in duchess.logic.commands
Command to add a given grade to list of grades.
AddGradeCommand(double, double, double, String, String) - Constructor for class duchess.logic.commands.AddGradeCommand
Creates a command to add a grade to a module.
AddLessonCommand - Class in duchess.logic.commands
Adds recurring lessons.
AddLessonCommand(String, LocalDateTime, LocalDateTime, String) - Constructor for class duchess.logic.commands.AddLessonCommand
Constructor to add lessons.
AddModuleCommand - Class in duchess.logic.commands
Command to add a given module to the store.
AddModuleCommand(String, String) - Constructor for class duchess.logic.commands.AddModuleCommand
Create a command to add a module.
AddState - Class in duchess.parser.states.add
Handles the parsing of entity type to add.
AddState(Parser) - Constructor for class duchess.parser.states.add.AddState
 
AddTodoCommand - Class in duchess.logic.commands
Command to add a given todo task to the tasklist.
AddTodoCommand(String) - Constructor for class duchess.logic.commands.AddTodoCommand
 
AddTodoCommand(String, String) - Constructor for class duchess.logic.commands.AddTodoCommand
 
AddTodoCommand(String, String, int) - Constructor for class duchess.logic.commands.AddTodoCommand
Creates a command to add a Todo task.
addToRedoStack() - Method in class duchess.storage.Storage
Adds deserialized string from undoStack to redoStack.
addToUndoStackPush(Store) - Method in class duchess.storage.Storage
Adds Store object to stack.
addValidCommands(Command) - Static method in class duchess.model.DuchessHistory
 

B

beginBlock() - Method in class duchess.ui.Ui
Prints an indented line.
ByeCommand - Class in duchess.logic.commands
Command to show farewell message to user and exit program.
ByeCommand() - Constructor for class duchess.logic.commands.ByeCommand
 

C

CALENDAR_DATE_USAGE - Static variable in class duchess.parser.Parser
 
CALENDAR_USAGE - Static variable in class duchess.parser.Parser
 
CALENDAR_VIEW_USAGE - Static variable in class duchess.parser.Parser
 
CalendarCommandParser - Class in duchess.parser.commands
Parses commands related to Calendar.
CalendarCommandParser() - Constructor for class duchess.parser.commands.CalendarCommandParser
 
CalendarEntry - Class in duchess.model.calendar
 
CalendarEntry(LocalDate, List<Task>) - Constructor for class duchess.model.calendar.CalendarEntry
 
CalendarManager - Class in duchess.model.calendar
 
CalendarManager() - Constructor for class duchess.model.calendar.CalendarManager
 
CalendarUtil - Class in duchess.model.calendar
 
CalendarUtil() - Constructor for class duchess.model.calendar.CalendarUtil
 
clashesWith(Task) - Method in class duchess.model.task.Task
 
clashesWith(TimeFrame) - Method in class duchess.model.TimeFrame
Returns true if this TimeFrame clashes with the other TimeFrame.
Command - Class in duchess.logic.commands
Represents a command given by the user, for Duchess to execute.
Command() - Constructor for class duchess.logic.commands.Command
 
compareTo(Task) - Method in class duchess.model.task.Task
 
compareTo(TimeFrame) - Method in class duchess.model.TimeFrame
Comparator to compare TimeFrame that orders TimeFrame objects in chronological order.
continueParsing(Map<String, String>) - Method in class duchess.parser.Parser
Continues the parsing of user input from extracted parameters.
continueParsing(Map<String, String>) - Method in class duchess.parser.states.add.AddState
Returns the command to execute next if the user enters the full command.
continueParsing(Map<String, String>) - Method in class duchess.parser.states.DefaultState
 
continueParsing(Map<String, String>) - Method in class duchess.parser.states.ParserState
 

D

DAY_KEYWORD - Static variable in class duchess.parser.Parser
 
Deadline - Class in duchess.model.task
 
Deadline(String) - Constructor for class duchess.model.task.Deadline
 
Deadline(String, LocalDateTime) - Constructor for class duchess.model.task.Deadline
 
DEADLINE_DEADLINE_PROMPT - Static variable in class duchess.parser.Parser
 
DEADLINE_DESCRIPTION_PROMPT - Static variable in class duchess.parser.Parser
 
DEADLINE_KEYWORD - Static variable in class duchess.parser.Parser
 
DeadlineDescriptionState - Class in duchess.parser.states.add
 
DeadlineDescriptionState(Parser) - Constructor for class duchess.parser.states.add.DeadlineDescriptionState
 
DeadlineModuleState - Class in duchess.parser.states.add
 
DeadlineModuleState(Parser, String, LocalDateTime) - Constructor for class duchess.parser.states.add.DeadlineModuleState
Initializes a state to handle parsing of modules associated with deadlines.
DeadlineTimeState - Class in duchess.parser.states.add
 
DeadlineTimeState(Parser, String) - Constructor for class duchess.parser.states.add.DeadlineTimeState
Initializes a parser state to process deadline due date.
DeadlineWeightageState - Class in duchess.parser.states.add
 
DeadlineWeightageState(Parser, String, LocalDateTime, String) - Constructor for class duchess.parser.states.add.DeadlineWeightageState
Initializes a state to handle parsing of weightage of grades associated with deadlines.
DefaultState - Class in duchess.parser.states
 
DefaultState(Parser) - Constructor for class duchess.parser.states.DefaultState
 
DELETE_USAGE - Static variable in class duchess.parser.Parser
 
DeleteCommandParser - Class in duchess.parser.commands
Parses commands related to deletion.
DeleteCommandParser() - Constructor for class duchess.parser.commands.DeleteCommandParser
 
deleteEntry(List<CalendarEntry>, Task, LocalDate) - Static method in class duchess.model.calendar.CalendarManager
Deletes a task from the task list of a calendar entry stored in the calendar.
deleteGrade(int) - Method in class duchess.model.Module
Deletes the specified grade object from the module.
DeleteGradeCommand - Class in duchess.logic.commands
Command to delete grade from given module.
DeleteGradeCommand(String, int) - Constructor for class duchess.logic.commands.DeleteGradeCommand
 
DeleteLessonCommand - Class in duchess.logic.commands
Deletes recurring lessons.
DeleteLessonCommand(String, String) - Constructor for class duchess.logic.commands.DeleteLessonCommand
Constructor for DeleteLessonCommand.
DeleteModuleCommand - Class in duchess.logic.commands
Command to delete given module.
DeleteModuleCommand(int) - Constructor for class duchess.logic.commands.DeleteModuleCommand
Deletes the module given an index.
DeleteTaskCommand - Class in duchess.logic.commands
Command to remove given task from the tasklist.
DeleteTaskCommand(int) - Constructor for class duchess.logic.commands.DeleteTaskCommand
 
description - Variable in class duchess.model.task.Task
 
DISPLAY_KEYWORD - Static variable in class duchess.parser.Parser
 
displayCalendar(CalendarEntry, String) - Method in class duchess.ui.Ui
Prints out the a day view of the calendar.
displayCalendar(List<CalendarEntry>, String) - Method in class duchess.ui.Ui
Prints out the a week view of the calendar.
DisplayCalendarCommand - Class in duchess.logic.commands
Command to display calendar in either the week or day view.
DisplayCalendarCommand(LocalDate, boolean) - Constructor for class duchess.logic.commands.DisplayCalendarCommand
Initialises start and end (where applicable) dates of calendar week view.
DisplayCommand - Class in duchess.logic.commands
Command to display message to user.
DisplayCommand(String) - Constructor for class duchess.logic.commands.DisplayCommand
 
displayMessage(String) - Method in class duchess.ui.Ui
Displays a given message.
DONE_USAGE - Static variable in class duchess.parser.Parser
 
DoneCommandParser - Class in duchess.parser.commands
Parses commands related to marking as done.
DoneCommandParser() - Constructor for class duchess.parser.commands.DoneCommandParser
 
DoneGradeCommand - Class in duchess.logic.commands
Command to mark Specified task as complete.
DoneGradeCommand(String, int, double, double) - Constructor for class duchess.logic.commands.DoneGradeCommand
Creates a command to mark given task as complete.
DoneTaskCommand - Class in duchess.logic.commands
Command to mark specified task as done.
DoneTaskCommand(int) - Constructor for class duchess.logic.commands.DoneTaskCommand
 
Duchess - Class in <Unnamed>
 
duchess.exceptions - package duchess.exceptions
 
duchess.log - package duchess.log
 
duchess.logic.commands - package duchess.logic.commands
 
duchess.model - package duchess.model
 
duchess.model.calendar - package duchess.model.calendar
 
duchess.model.task - package duchess.model.task
 
duchess.parser - package duchess.parser
 
duchess.parser.commands - package duchess.parser.commands
 
duchess.parser.states - package duchess.parser.states
 
duchess.parser.states.add - package duchess.parser.states.add
 
duchess.storage - package duchess.storage
 
duchess.ui - package duchess.ui
 
DuchessException - Exception in duchess.exceptions
 
DuchessException(String) - Constructor for exception duchess.exceptions.DuchessException
 
DuchessHistory - Class in duchess.model
 
DuchessHistory() - Constructor for class duchess.model.DuchessHistory
 

E

endBlock() - Method in class duchess.ui.Ui
Prints an indented line.
equals(Object) - Method in class duchess.model.Module
Returns true if two modules share the same code.
Event - Class in duchess.model.task
 
Event(String, String) - Constructor for class duchess.model.task.Event
Constructor for Jackson.
Event(String, LocalDateTime, LocalDateTime) - Constructor for class duchess.model.task.Event
Creates an event task.
EVENT_DESCRIPTION_PROMPT - Static variable in class duchess.parser.Parser
 
EVENT_END_PROMPT - Static variable in class duchess.parser.Parser
 
EVENT_KEYWORD - Static variable in class duchess.parser.Parser
 
EVENT_START_PROMPT - Static variable in class duchess.parser.Parser
 
EventDescriptionState - Class in duchess.parser.states.add
Handles the parsing of event descriptions.
EventDescriptionState(Parser) - Constructor for class duchess.parser.states.add.EventDescriptionState
 
EventFromState - Class in duchess.parser.states.add
Handles the parsing of event start time.
EventFromState(Parser, String) - Constructor for class duchess.parser.states.add.EventFromState
Initializes a state to parse event start time.
EventModuleState - Class in duchess.parser.states.add
Handles the parsing of events associated with modules.
EventModuleState(Parser, String, LocalDateTime, LocalDateTime) - Constructor for class duchess.parser.states.add.EventModuleState
Initializes a state to process module associated with an event.
EventToState - Class in duchess.parser.states.add
Handles the parsing of event end time.
EventToState(Parser, String, LocalDateTime) - Constructor for class duchess.parser.states.add.EventToState
Initializes a state to process ending time of events.
EventWeightageState - Class in duchess.parser.states.add
 
EventWeightageState(Parser, String, LocalDateTime, LocalDateTime, String) - Constructor for class duchess.parser.states.add.EventWeightageState
Initializes a state to process module associated with an event.
execute(Store) - Static method in class duchess.storage.Seed
Seeds a given store with default data.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.AddDeadlineCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.AddEventCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.AddGradeCommand
Adds a grade to a module.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.AddLessonCommand
Compares user inputs and adds recurring lessons for the semester.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.AddModuleCommand
Instantiates the module, adds it to the store and saves it.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.AddTodoCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.ByeCommand
Bids users farewell.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.Command
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DeleteGradeCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DeleteLessonCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DeleteModuleCommand
Deletes a module if there are no associated tasks.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DeleteTaskCommand
Deletes a user specified task.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DisplayCalendarCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DisplayCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DoneGradeCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.DoneTaskCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.ExportCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.FindCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.HistoryCommand
Displays full log command to users.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.ListGradesCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.ListModulesCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.ListTasksCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.RedoCommand
Restores previous undo command user executes.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.ReminderCommand
Displays Deadline objects to user in ascending order.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.SnoozeCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.UndoCommand
Restores previous available state.
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.UnmarkTaskCommand
 
execute(Store, Ui, Storage) - Method in class duchess.logic.commands.ViewScheduleCommand
 
EXPORT_KEYWORD - Static variable in class duchess.parser.Parser
 
ExportCommand - Class in duchess.logic.commands
Command to export calendar in either the week or day view.
ExportCommand(LocalDate, boolean) - Constructor for class duchess.logic.commands.ExportCommand
Initialises start and end dates, file and filepath of export.

F

fallsWithin(TimeFrame) - Method in class duchess.model.TimeFrame
Returns true if this TimeFrame lies within the other TimeFrame.
FindCommand - Class in duchess.logic.commands
Command to search for given task.
FindCommand(List<String>) - Constructor for class duchess.logic.commands.FindCommand
 
findEntries(List<CalendarEntry>, LocalDate, LocalDate) - Static method in class duchess.model.calendar.CalendarManager
Finds the calendar entries within a given start and end date.
findEntry(List<CalendarEntry>, LocalDate) - Static method in class duchess.model.calendar.CalendarManager
Finds a calendar entry in the calendar.
findModuleByCode(String) - Method in class duchess.storage.Store
 
formatDateTime(LocalDateTime) - Static method in class duchess.parser.Util
Returns a String from a LocalDateTime object with the desired formatting.

G

getCode() - Method in class duchess.model.Module
 
getDate() - Method in class duchess.model.calendar.CalendarEntry
 
getDateTasks() - Method in class duchess.model.calendar.CalendarEntry
 
getDeadline() - Method in class duchess.model.task.Deadline
 
getDescription() - Method in class duchess.model.Grade
 
getDescription() - Method in class duchess.model.task.Event
 
getDescription() - Method in class duchess.model.task.Task
 
getDuchessCalendar() - Method in class duchess.storage.Store
 
getEnd() - Method in class duchess.model.task.Event
 
getFirstSnapshot() - Method in class duchess.storage.Storage
Obtains first Store object.
getFullLog() - Static method in class duchess.model.DuchessHistory
 
getGrade() - Method in class duchess.model.task.Task
 
getGrades() - Method in class duchess.model.Module
 
getIsComplete() - Method in class duchess.model.Grade
 
getLastSnapshot() - Method in class duchess.storage.Storage
Obtains last Store object.
getLogger() - Static method in class duchess.log.Log
Returns the logger to use, creating one if necessary.
getMarks() - Method in class duchess.model.Grade
 
getMaxMarks() - Method in class duchess.model.Grade
 
getModule() - Method in class duchess.model.task.Task
 
getModuleList() - Method in class duchess.storage.Store
 
getModulePercentage() - Method in class duchess.model.Grade
 
getName() - Method in class duchess.model.Module
 
getParserState() - Method in class duchess.parser.Parser
Returns the current parser state.
getRawtGrade() - Method in class duchess.model.task.Task
 
getRawtModule() - Method in class duchess.model.task.Task
 
getRedoStack() - Method in class duchess.storage.Storage
Returns a redoStack.
getReminder() - Method in class duchess.model.task.Deadline
 
getReminder() - Method in class duchess.model.task.Event
 
getReminder() - Method in class duchess.model.task.Task
 
getReminder() - Method in class duchess.model.task.Todo
 
getStart() - Method in class duchess.model.task.Event
 
getStart() - Method in class duchess.model.TimeFrame
Returns the start time of the TimeFrame, if present.
getTaskList() - Method in class duchess.storage.Store
 
getTimeFrame() - Method in class duchess.model.task.Deadline
 
getTimeFrame() - Method in class duchess.model.task.Event
 
getTimeFrame() - Method in class duchess.model.task.Task
 
getTimeFrame() - Method in class duchess.model.task.Todo
 
getUndoStack() - Method in class duchess.storage.Storage
Returns an undoStack.
getValidCommandLog() - Static method in class duchess.model.DuchessHistory
 
getWeekAsInt(LocalDate) - Static method in class duchess.model.calendar.CalendarUtil
Processes the num of weeks into the semester of a given date.
getWeightage() - Method in class duchess.model.Grade
 
getWeightageCompleted() - Method in class duchess.model.Module
 
getWeightageObtained() - Method in class duchess.model.Module
 
getWeightageTotal() - Method in class duchess.model.Module
 
Grade - Class in duchess.model
Represents a grade in a module.
Grade(String, double) - Constructor for class duchess.model.Grade
Creates a grade object.
Grade(String, double, double, double) - Constructor for class duchess.model.Grade
Creates a grade object.
Grade(String, double, double, double, boolean, double) - Constructor for class duchess.model.Grade
Creates a Grade object.
GRADE_DESCRIPTION_PROMPT - Static variable in class duchess.parser.Parser
 
GRADE_KEYWORD - Static variable in class duchess.parser.Parser
 
GRADE_MARKS_PROMPT - Static variable in class duchess.parser.Parser
 
GRADE_MODULE_PROMPT - Static variable in class duchess.parser.Parser
 
GRADE_WEIGHTAGE_PROMPT - Static variable in class duchess.parser.Parser
 
GradeDescriptionState - Class in duchess.parser.states.add
Handles the parsing of grade descriptions.
GradeDescriptionState(Parser) - Constructor for class duchess.parser.states.add.GradeDescriptionState
Initializes a state to parse the grade description.
GradeMarksState - Class in duchess.parser.states.add
Handles the parsing of grade marks.
GradeMarksState(Parser, String) - Constructor for class duchess.parser.states.add.GradeMarksState
Initializes a state to parse the marks.
GradeModuleState - Class in duchess.parser.states.add
Handles the parsing of grades associated with modules.
GradeModuleState(Parser, String, double, double, double) - Constructor for class duchess.parser.states.add.GradeModuleState
Initializes a state to parse module associated with a grade.
GRADES_KEYWORD - Static variable in class duchess.parser.Parser
 
GradeWeightageState - Class in duchess.parser.states.add
Handles the parsing of grade weightage.
GradeWeightageState(Parser, String, double, double) - Constructor for class duchess.parser.states.add.GradeWeightageState
Initializes a state to parse the weightage of the grade.

H

hasDuration() - Method in class duchess.model.TimeFrame
Checks if TimeFrame belongs to task of type event.
HistoryCommand - Class in duchess.logic.commands
Command to display input history.
HistoryCommand() - Constructor for class duchess.logic.commands.HistoryCommand
 

I

isCalendarEntry() - Method in class duchess.model.task.Deadline
 
isCalendarEntry() - Method in class duchess.model.task.Event
 
isCalendarEntry() - Method in class duchess.model.task.Task
 
isCalendarEntry() - Method in class duchess.model.task.Todo
 
isClashing(Task) - Method in class duchess.storage.Store
 
isDone() - Method in class duchess.model.task.Task
 
isExit - Variable in class duchess.logic.commands.Command
 
isExit() - Method in class duchess.logic.commands.Command
 
isOfCode(String) - Method in class duchess.model.Module
Returns true if the module has the same code as the supplied code.
isRequestedEntry(LocalDate) - Method in class duchess.model.calendar.CalendarEntry
 

L

LESSON_KEYWORD - Static variable in class duchess.parser.Parser
 
LESSON_USAGE - Static variable in class duchess.parser.Parser
 
LessonCommandParser - Class in duchess.parser.commands
Parses command for adding lessons.
LessonCommandParser() - Constructor for class duchess.parser.commands.LessonCommandParser
 
LIST_USAGE - Static variable in class duchess.parser.Parser
Usage for commands.
ListCommandParser - Class in duchess.parser.commands
Parses command to list user's resources.
ListCommandParser() - Constructor for class duchess.parser.commands.ListCommandParser
 
ListGradesCommand - Class in duchess.logic.commands
Command to list grades for the given module.
ListGradesCommand(String) - Constructor for class duchess.logic.commands.ListGradesCommand
 
ListModulesCommand - Class in duchess.logic.commands
Command to list modules in the store.
ListModulesCommand() - Constructor for class duchess.logic.commands.ListModulesCommand
 
ListTasksCommand - Class in duchess.logic.commands
Command to list tasks in tasklist.
ListTasksCommand() - Constructor for class duchess.logic.commands.ListTasksCommand
 
load() - Method in class duchess.storage.Storage
Returns the tasklist loaded from file.
Log - Class in duchess.log
Wrapper for the application-wide logger.
Log() - Constructor for class duchess.log.Log
 

M

main(String[]) - Static method in class Duchess
 
markAsComplete(double, double) - Method in class duchess.model.Grade
Marks a grade as complete.
MARKS_KEYWORD - Static variable in class duchess.parser.Parser
 
Module - Class in duchess.model
Represents an academic module taken by students.
Module(String, String) - Constructor for class duchess.model.Module
Creates a new Module.
Module(String, String, List<Grade>, double, double, double) - Constructor for class duchess.model.Module
Creates a new module using Json data.
MODULE_CODE_PROMPT - Static variable in class duchess.parser.Parser
 
MODULE_KEYWORD - Static variable in class duchess.parser.Parser
 
MODULE_NAME_PROMPT - Static variable in class duchess.parser.Parser
 
ModuleCodeState - Class in duchess.parser.states.add
Handles the parsing of module code.
ModuleCodeState(Parser, String) - Constructor for class duchess.parser.states.add.ModuleCodeState
Initializes a state to process module code.
ModuleNameState - Class in duchess.parser.states.add
Handles the parsing of module names.
ModuleNameState(Parser) - Constructor for class duchess.parser.states.add.ModuleNameState
Initializes a state to parse module name.
MODULES_KEYWORD - Static variable in class duchess.parser.Parser
 

O

ofInstantaneousTask(LocalDateTime) - Static method in class duchess.model.TimeFrame
Creates and returns a TimeFrame that represents a point in time.
ofTimelessTask() - Static method in class duchess.model.TimeFrame
Creates and returns a TimeFrame that does not fall in any point in time.

P

parameterize(String) - Static method in class duchess.parser.Util
Returns a map mapping the parameter to its corresponding values from user input.
parameterizeWithoutCommand(String) - Static method in class duchess.parser.Util
 
parse(String) - Method in class duchess.parser.Parser
Returns the command to execute in response to the user input.
parse(String) - Method in class duchess.parser.states.add.AddState
Returns the command to execute next if the user enters the partial command.
parse(String) - Method in class duchess.parser.states.DefaultState
Returns the command to execute after parsing user input.
parse(String) - Method in class duchess.parser.states.ParserState
 
parse(List<String>) - Static method in class duchess.parser.commands.ViewScheduleCommandParser
Parses input for view schedule command.
parse(Map<String, String>) - Static method in class duchess.parser.commands.CalendarCommandParser
This class parses the user input to ensure the validity of the commands for calendar interaction.
parse(Map<String, String>) - Static method in class duchess.parser.commands.DeleteCommandParser
Returns a command to delete a module based on user input.
parse(Map<String, String>) - Static method in class duchess.parser.commands.DoneCommandParser
Returns a command to delete a module based on user input.
parse(Map<String, String>) - Static method in class duchess.parser.commands.LessonCommandParser
Returns a command to add lessons based on user input.
parse(Map<String, String>) - Static method in class duchess.parser.commands.ListCommandParser
Returns a command to list user's resources.
parse(Map<String, String>) - Static method in class duchess.parser.commands.UnmarkCommandParser
Returns a command to delete a module based on user input.
parseDate(String) - Static method in class duchess.parser.Util
Obtains an instance of LocalDate from a text string using a formatter of pattern "dd/MM/yyyy".
parseDateTime(String) - Static method in class duchess.parser.Util
Obtains an instance of LocalDateTime from a text input.
Parser - Class in duchess.parser
Parses user input.
Parser() - Constructor for class duchess.parser.Parser
Initializes the duchess parser with a default logger.
ParserState - Class in duchess.parser.states
 
ParserState() - Constructor for class duchess.parser.states.ParserState
 
ParserState(String) - Constructor for class duchess.parser.states.ParserState
 
parseToWeekDates(LocalDate) - Static method in class duchess.parser.Util
Parses a date and returns a List<LocalDate> object.
PARSING_ERROR_MESSAGE - Static variable in class duchess.parser.Parser
Error messages.
peekUndoStackAsStore() - Method in class duchess.storage.Storage
Returns the top object of UndoStack as a Store object.
process(String, Map<String, String>) - Method in class duchess.parser.states.add.DeadlineDescriptionState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.DeadlineModuleState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.DeadlineTimeState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.DeadlineWeightageState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.EventDescriptionState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.EventFromState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.EventModuleState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.EventToState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.EventWeightageState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.GradeDescriptionState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.GradeMarksState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.GradeModuleState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.GradeWeightageState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.ModuleCodeState
Processes module code input by the user.
process(String, Map<String, String>) - Method in class duchess.parser.states.add.ModuleNameState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.TodoModuleState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.TodoNameState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.add.TodoWeightageState
 
process(String, Map<String, String>) - Method in class duchess.parser.states.ParserState
 
processDate(LocalDate) - Static method in class duchess.model.calendar.CalendarUtil
Process the period in the academic year at which the input date falls in.

R

readCommand() - Method in class duchess.ui.Ui
Gets next line from user inputs.
RedoCommand - Class in duchess.logic.commands
Redo feature.
RedoCommand(List<String>) - Constructor for class duchess.logic.commands.RedoCommand
Checks if redo command contains additional parameters.
ReminderCommand - Class in duchess.logic.commands
Searches Tasklist and filters out deadline objects.
ReminderCommand() - Constructor for class duchess.logic.commands.ReminderCommand
 

S

save(Store) - Method in class duchess.storage.Storage
Saves the given tasklist to file.
Seed - Class in duchess.storage
Add seed data when application is first started.
Seed() - Constructor for class duchess.storage.Seed
 
seedStore() - Static method in class duchess.storage.Store
Creates and returns a new store with seed data.
setDate(LocalDate) - Method in class duchess.model.calendar.CalendarEntry
 
setDateTasks(List<Task>) - Method in class duchess.model.calendar.CalendarEntry
 
setDeadline(String) - Method in class duchess.model.task.Deadline
 
setDescription(String) - Method in class duchess.model.task.Task
 
setDone(boolean) - Method in class duchess.model.task.Task
 
setDuchessCalendar(List<CalendarEntry>) - Method in class duchess.storage.Store
 
setGrade(Grade) - Method in class duchess.model.task.Task
 
setModule(Module) - Method in class duchess.model.task.Task
 
setModuleList(List<Module>) - Method in class duchess.storage.Store
 
setParserState(ParserState) - Method in class duchess.parser.Parser
Sets the duchess parser state.
setTaskList(List<Task>) - Method in class duchess.storage.Store
 
showBye() - Method in class duchess.ui.Ui
Prints farewell message.
showCompletedGrade(Grade) - Method in class duchess.ui.Ui
Prints message for grade completion.
showDeletedGrade(String, Module) - Method in class duchess.ui.Ui
 
showDeletedLesson(String) - Method in class duchess.ui.Ui
Displays a message stating lessons of a module have been deleted.
showDeletedModule(Module) - Method in class duchess.ui.Ui
Displays a confirmation message stating that the module has been deleted.
showDeletedTask(List<Task>, Task) - Method in class duchess.ui.Ui
Shows the task that was just deleted.
showDoneTask(Task) - Method in class duchess.ui.Ui
Prints message for task completion.
showError(String) - Method in class duchess.ui.Ui
Prints error to user.
showFinishedExport() - Method in class duchess.ui.Ui
Inform user calendar has been saved as test file.
showGradeAdded(Module, Grade, List<Grade>) - Method in class duchess.ui.Ui
Displays the newly added grade as well as other grades.
showGradeList(List<Grade>, Module) - Method in class duchess.ui.Ui
Displays grades in the given module.
showGrades(List<Grade>) - Method in class duchess.ui.Ui
Displays grades in the list given.
showLessonsAdded(String) - Method in class duchess.ui.Ui
Displays a message when lessons are added for a module.
showModuleAdded(Module, List<Module>) - Method in class duchess.ui.Ui
Displays the newly added module as well as other modules.
showModuleList(List<Module>) - Method in class duchess.ui.Ui
Displays the user's modules.
showNoDeletedLesson(String) - Method in class duchess.ui.Ui
Displays a message when no lessons are deleted for a module.
showNoLessonsAdded(String) - Method in class duchess.ui.Ui
Displays a message when lessons are not added for a module.
showNoReminders() - Method in class duchess.ui.Ui
Shows no reminders to user.
showRedo(int) - Method in class duchess.ui.Ui
Displays number of undone actions to user.
showReminders(List<Task>) - Method in class duchess.ui.Ui
Displays reminders to user.
showScheduleResult(List<Task>, String) - Method in class duchess.ui.Ui
Displays schedule of a single day to user.
showSearchResult(List<Task>) - Method in class duchess.ui.Ui
Displays search results to user.
showSnoozedTask(Task) - Method in class duchess.ui.Ui
Shows the task that was just snoozed.
showTaskAdded(List<Task>, Task) - Method in class duchess.ui.Ui
Prints the task that was added.
showTaskList(List<Task>) - Method in class duchess.ui.Ui
Displays Task objects in list given.
showUnableToDeleteModuleMsg(List<Task>) - Method in class duchess.ui.Ui
Displays an error message indicating why the module can't be deleted.
showUndo(int) - Method in class duchess.ui.Ui
Displays number of undone actions to user.
showUnmarkedTask(Task) - Method in class duchess.ui.Ui
Prints message to show unmarked task.
showUserHistory(List<String>) - Method in class duchess.ui.Ui
Displays user history.
showWelcome() - Method in class duchess.ui.Ui
Prints welcome message.
snooze() - Method in class duchess.model.task.Deadline
 
snooze() - Method in class duchess.model.task.Event
 
snooze() - Method in class duchess.model.task.Task
 
snooze() - Method in class duchess.model.task.Todo
 
SnoozeCommand - Class in duchess.logic.commands
 
SnoozeCommand(List<String>) - Constructor for class duchess.logic.commands.SnoozeCommand
 
Storage - Class in duchess.storage
 
Storage(String) - Constructor for class duchess.storage.Storage
Constructs Storage object.
Store - Class in duchess.storage
 
Store() - Constructor for class duchess.storage.Store
Initialises new taskList, moduleList and duchessCalendar.
stringCalendar(CalendarEntry, String) - Method in class duchess.ui.Ui
Prints out the a day view of the calendar.
stringCalendar(List<CalendarEntry>, String) - Method in class duchess.ui.Ui
Store the display calendar as strings in an array.

T

Task - Class in duchess.model.task
 
Task() - Constructor for class duchess.model.task.Task
Creates a Task.
TASK_INVALID_WEIGHTAGE - Static variable in class duchess.parser.Parser
 
TASK_KEYWORD - Static variable in class duchess.parser.Parser
 
TASK_MODULE_PROMPT - Static variable in class duchess.parser.Parser
 
TASK_WEIGHTAGE_PROMPT - Static variable in class duchess.parser.Parser
 
TASKS_KEYWORD - Static variable in class duchess.parser.Parser
Used for list command.
TimeFrame - Class in duchess.model
Represents an interval in time.
TimeFrame(LocalDateTime, LocalDateTime) - Constructor for class duchess.model.TimeFrame
Creates a TimeFrame that represents an interval in time.
Todo - Class in duchess.model.task
 
Todo() - Constructor for class duchess.model.task.Todo
 
Todo(String) - Constructor for class duchess.model.task.Todo
 
TODO_DESCRIPTION_PROMPT - Static variable in class duchess.parser.Parser
 
TODO_KEYWORD - Static variable in class duchess.parser.Parser
 
TodoModuleState - Class in duchess.parser.states.add
 
TodoModuleState(Parser, String) - Constructor for class duchess.parser.states.add.TodoModuleState
Initializes a state to process modules associated with to-dos.
TodoNameState - Class in duchess.parser.states.add
 
TodoNameState(Parser) - Constructor for class duchess.parser.states.add.TodoNameState
 
TodoWeightageState - Class in duchess.parser.states.add
 
TodoWeightageState(Parser, String, String) - Constructor for class duchess.parser.states.add.TodoWeightageState
Initializes a state to process weightage of grade associated with todo.
toString() - Method in class duchess.model.Grade
 
toString() - Method in class duchess.model.Module
Returns a string to represent the Module.
toString() - Method in class duchess.model.task.Deadline
 
toString() - Method in class duchess.model.task.Event
 
toString() - Method in class duchess.model.task.Task
 
toString() - Method in class duchess.model.task.Todo
 
toString(LocalDate) - Static method in class duchess.model.calendar.CalendarUtil
Returns the academic year, semester and week of a given date.

U

Ui - Class in duchess.ui
 
Ui() - Constructor for class duchess.ui.Ui
Instantiates Scanner class.
UndoCommand - Class in duchess.logic.commands
Undo feature.
UndoCommand(List<String>) - Constructor for class duchess.logic.commands.UndoCommand
Checks if undo command contains additional parameters.
UNMARK_USAGE - Static variable in class duchess.parser.Parser
 
UnmarkCommandParser - Class in duchess.parser.commands
 
UnmarkCommandParser() - Constructor for class duchess.parser.commands.UnmarkCommandParser
 
UnmarkTaskCommand - Class in duchess.logic.commands
 
UnmarkTaskCommand(int) - Constructor for class duchess.logic.commands.UnmarkTaskCommand
 
updateGrade(Grade) - Method in class duchess.model.Module
Updates the completed and obtained weightages.
Util - Class in duchess.parser
Collection of helpful functions to parse user input.

V

ViewScheduleCommand - Class in duchess.logic.commands
Command to display tasklist of certain timeframe in chronological order.
ViewScheduleCommand(String, String) - Constructor for class duchess.logic.commands.ViewScheduleCommand
Constructor for class.
ViewScheduleCommandParser - Class in duchess.parser.commands
 
ViewScheduleCommandParser() - Constructor for class duchess.parser.commands.ViewScheduleCommandParser
 

W

WEEK_KEYWORD - Static variable in class duchess.parser.Parser
 
A B C D E F G H I L M O P R S T U V W 
All Classes All Packages