Uses of Class
com.dna.jopt.member.unit.hours.TimeWindow
-
Uses of TimeWindow in com.dna.jopt.member.unit.hours
Modifier and TypeFieldDescriptionstatic final Comparator<TimeWindow>
TimeWindow.START
The Comparator for START.Modifier and TypeMethodDescriptionAbstractDutyHours.getTimeWindow()
IDutyHours.getTimeWindow()
Gets the time window.Modifier and TypeMethodDescriptionstatic List<TimeWindow>
TimeWindow.validateOverlapAndSort
(List<TimeWindow> windows) Validate overlap and sort by start.Modifier and TypeMethodDescriptionint
TimeWindow.compareTo
(TimeWindow o) static String
TimeWindow.getAsString
(TimeWindow hours, ZoneId zoneId) Gets the beginning hours and the end hours in the formatdd.MM.yyyy HH:mm:ss
and the zoneId.static boolean
TimeWindow.hasOverlap
(TimeWindow w1, TimeWindow w2) Checks for overlap.boolean
TimeWindow.hasSameStartAndEnd
(TimeWindow o) Checks ifgetHoursBeginInMillis()
andgetHoursEndInMillis()
are the same as the one of the input.Modifier and TypeMethodDescriptionstatic List<TimeWindow>
TimeWindow.validateOverlapAndSort
(List<TimeWindow> windows) Validate overlap and sort by start.ModifierConstructorDescriptionAbstractDutyHours
(TimeWindow window) OpeningHours
(TimeWindow window) OpeningHours
(TimeWindow access, TimeWindow service) OpeningHours
(TimeWindow access, List<TimeWindow> services) WorkingHours
(TimeWindow window)