Package | Description |
---|---|
com.dna.jopt.member.unit.hours |
Modifier and Type | Field and Description |
---|---|
static Comparator<TimeWindow> |
TimeWindow.START
The Comparator for START.
|
Modifier and Type | Method and Description |
---|---|
TimeWindow |
AbstractDutyHours.getTimeWindow() |
TimeWindow |
IDutyHours.getTimeWindow()
Gets the time window.
|
Modifier and Type | Method and Description |
---|---|
static List<TimeWindow> |
TimeWindow.validateOverlapAndSort(List<TimeWindow> windows)
Validate overlap and sort by start.
|
Modifier and Type | Method and Description |
---|---|
int |
TimeWindow.compareTo(TimeWindow o) |
static String |
TimeWindow.getAsString(TimeWindow hours,
ZoneId zoneId)
Gets the beginning hours and the end hours in the format
dd.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 if
getHoursBeginInMillis() and getHoursEndInMillis()
are the same as the one of the input. |
Modifier and Type | Method and Description |
---|---|
static List<TimeWindow> |
TimeWindow.validateOverlapAndSort(List<TimeWindow> windows)
Validate overlap and sort by start.
|
Constructor and Description |
---|
AbstractDutyHours(TimeWindow window) |
OpeningHours(TimeWindow window) |
OpeningHours(TimeWindow access,
List<TimeWindow> services) |
OpeningHours(TimeWindow access,
TimeWindow service) |
WorkingHours(TimeWindow window) |
Constructor and Description |
---|
OpeningHours(TimeWindow access,
List<TimeWindow> services) |
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.