Package Model.ScheduleManagement
Class Schedule
java.lang.Object
Model.ScheduleManagement.Schedule
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStaff()
boolean
Print the schedule in a readable format E.g.void
void
setWorkingHours
(DayOfWeek day, int startHour, int endHour) void
setWorkingHours
(DayOfWeek day, TimeSlot timeSlot)
-
Field Details
-
APPOINTMENT_DURATION
public static final int APPOINTMENT_DURATION- See Also:
-
-
Constructor Details
-
Schedule
-
-
Method Details
-
setDoctor
-
setWorkingHours
-
setWorkingHours
-
getTimeSlots
-
printScheduleCompact
Print the schedule in a readable format E.g. Schedule: Monday: 09:00 - 17:00 Tuesday: 09:00 - 17:00- Returns:
- String representing the schedule
-
isWorking
-
getAvailableTimeSlotsOnDate
-
getStaff
-
getSchedule
-