Package Model.ScheduleManagement
Class TimeSlot
java.lang.Object
Model.ScheduleManagement.TimeSlot
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TimeSlot
-
TimeSlot
public TimeSlot(int startHour, int endHour)
-
-
Method Details
-
getStart
-
getEnd
-
equals
-
hashCode
-
toString
-
isTimeWithin
Time is within the time slot if it is equal to the start time or between the start and end time- Parameters:
time
- LocalTime to check- Returns:
- true if time is within the time slot
-