-
- All Implemented Interfaces:
public final class DaysOfWeekTimeWindows
-
-
Field Summary
Fields Modifier and Type Field Description private final Array<TimeWindow>timeWindowsprivate final Set<DayOfWeek>daysOfWeek
-
Constructor Summary
Constructors Constructor Description DaysOfWeekTimeWindows(Set<DayOfWeek> daysOfWeek, Set<TimeWindow> _timeWindows)
-
Method Summary
Modifier and Type Method Description final Array<TimeWindow>getTimeWindows()final Set<DayOfWeek>getDaysOfWeek()final LongtimeMsUntilTargetTimeIntervalEnd(Long dayTimeOffsetMillis)final LongtimeMsUntilTargetTimeIntervalStart(Long dayTimeOffestMillis)-
-
Constructor Detail
-
DaysOfWeekTimeWindows
DaysOfWeekTimeWindows(Set<DayOfWeek> daysOfWeek, Set<TimeWindow> _timeWindows)
-
-
Method Detail
-
getTimeWindows
final Array<TimeWindow> getTimeWindows()
-
getDaysOfWeek
final Set<DayOfWeek> getDaysOfWeek()
-
timeMsUntilTargetTimeIntervalEnd
final Long timeMsUntilTargetTimeIntervalEnd(Long dayTimeOffsetMillis)
- Parameters:
dayTimeOffsetMillis- number of milliseconds elapsed from the beginning of the day, think about this as LocalTime raw representation
-
timeMsUntilTargetTimeIntervalStart
final Long timeMsUntilTargetTimeIntervalStart(Long dayTimeOffestMillis)
-
-
-
-