public class SingleDayLengthSchedule extends SimpleWeeklySchedule
Constructor and Description |
---|
SingleDayLengthSchedule()
Constructor.
|
SingleDayLengthSchedule(DayOfWeek firstDay,
LocalTime logonTime,
DayOfWeek lastDay,
LocalTime logoutTime,
SequenceNumberResetPolicy resetPolicy)
Constructor.
|
SingleDayLengthSchedule(DayOfWeek firstDay,
LocalTime logonTime,
ZoneId logonTimeZone,
DayOfWeek lastDay,
LocalTime logoutTime,
ZoneId logoutTimeZone,
SequenceNumberResetPolicy resetPolicy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
WeeklyIntervalList |
getIntervalList() |
SimpleWeeklySchedule |
validate()
Validates scheduled intervals.
|
getFirstDay, getLastDay, getLogonTime, getLogonTimeZone, getLogoutTime, getLogoutTimeZone, getResetPolicy, setFirstDay, setLastDay, setLogonTime, setLogonTimeZone, setLogoutTime, setLogoutTimeZone, setResetPolicy
public SingleDayLengthSchedule()
public SingleDayLengthSchedule(DayOfWeek firstDay, LocalTime logonTime, DayOfWeek lastDay, LocalTime logoutTime, SequenceNumberResetPolicy resetPolicy)
firstDay
- first daylogonTime
- logon timelastDay
- last daylogoutTime
- logout timeresetPolicy
- sequence numbers reset policypublic SingleDayLengthSchedule(DayOfWeek firstDay, LocalTime logonTime, ZoneId logonTimeZone, DayOfWeek lastDay, LocalTime logoutTime, ZoneId logoutTimeZone, SequenceNumberResetPolicy resetPolicy)
firstDay
- first daylogonTime
- logon timelogonTimeZone
- logon timezonelastDay
- last daylogoutTime
- logout timelogoutTimeZone
- logout timezoneresetPolicy
- sequence numbers reset policypublic WeeklyIntervalList getIntervalList() throws ScheduleValidationException
ScheduleValidationException
public SimpleWeeklySchedule validate() throws ScheduleValidationException
SessionSchedule
validate
in interface SessionSchedule
validate
in class SimpleWeeklySchedule
ScheduleValidationException
- if the interval(s) is(are) invalid.Copyright © 2005–2024 Onix Solutions. All rights reserved.