@@ -0,0 +1,1009 @@
+package org.teamstbf.yats.model.item;%0A%0Apublic class Schedule %7B%0A%0A%09%09private Timing startTime;%0A%09%09private Timing endTime;%0A%09%09private Deadline deadline;%0A%09%09%0A%09%09/**%0A%09%09 * Represents an Event schedule in TaskManager.%0A%09%09 * Values cannot be null%0A%09%09 * @param startTime%0A%09%09 * @param endTime%0A%09%09 * @param deadline%0A%09%09 */%0A%09%09public Schedule(Timing startTime, Timing endTime, Deadline deadline) %7B%0A%09%09%09assert startTime != null;%0A%09%09%09assert endTime != null;%0A%09%09%09assert deadline != null;%0A%09%09%09this.startTime = startTime;%0A%09%09%09this.endTime = endTime;%0A%09%09%09this.deadline = deadline;%0A%09%09%7D%0A%09%09%0A%09%09public Schedule() %7B%0A%09%09%09%0A%09%09%7D%0A%09%09%0A%09%09public Timing getStartTime() %7B%0A%09%09%09return startTime;%0A%09%09%7D%0A%09%09%0A%09%09public Timing getEndTime() %7B%0A%09%09%09return endTime;%0A%09%09%7D%0A%09%09%0A%09%09public Deadline getDeadline() %7B%0A%09%09%09return deadline;%0A%09%09%7D%0A%09%09%0A%09%09public void setStarTime(Timing startTime) %7B%0A%09%09%09this.startTime = startTime;%0A%09%09%7D%0A%09%09%0A%09%09public void setEndTime(Timing endTime) %7B%0A%09%09%09this.endTime = endTime;%0A%09%09%7D%0A%09%09%0A%09%09public void setDeadline(Deadline deadline) %7B%0A%09%09%09this.deadline = deadline;%0A%09%09%7D%0A%0A%7D%0A

Add Schedule class