Package | Description |
---|---|
be.ac.ulb.infof307.g02.models |
Modifier and Type | Field and Description |
---|---|
private java.util.List<TimeSlot> |
DaySchedule.timeSlots
A DaySchedule is divided into multiple TimeSlots
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TimeSlot> |
Schedule.getDayTimeSlots(Day day)
Gets all the TimeSlots for a day
|
java.util.List<TimeSlot> |
DaySchedule.getTimeSlots() |
Modifier and Type | Method and Description |
---|---|
void |
DaySchedule.addTimeSlot(TimeSlot newTimeSlot)
Adds a time slot to the day schedule, making sure it doesn't overlap any
existing time slot.
|
void |
Schedule.addTimeSlot(TimeSlot newTimeSlot,
Day day)
Adds a TimeSlot to the schedule
|
boolean |
TimeSlot.isTimeSlotOverlapping(TimeSlot other)
Checks it the TimeSlot overlaps another one.
|