public abstract class SimpleWeeklySchedule extends Object implements SessionSchedule
Modifier and Type | Method and Description |
---|---|
DayOfWeek |
getFirstDay()
Returns first day.
|
DayOfWeek |
getLastDay()
Returns last day.
|
LocalTime |
getLogonTime()
Returns logon time.
|
ZoneId |
getLogonTimeZone()
Returns logon timezone.
|
LocalTime |
getLogoutTime()
Returns logout time.
|
ZoneId |
getLogoutTimeZone()
Returns logout timezone.
|
SimpleWeeklySchedule |
setFirstDay(DayOfWeek firstDay)
Sets first day.
|
SimpleWeeklySchedule |
setLastDay(DayOfWeek lastDay)
Sets last day.
|
SimpleWeeklySchedule |
setLogonTime(LocalTime logonTime)
Sets logon time.
|
SimpleWeeklySchedule |
setLogonTimeZone(ZoneId logonTimeZone)
Sets logon timezone.
|
SimpleWeeklySchedule |
setLogoutTime(LocalTime logoutTime)
Sets logout time.
|
SimpleWeeklySchedule |
setLogoutTimeZone(ZoneId logoutTimeZone)
Sets logout timezone.
|
SimpleWeeklySchedule |
validate()
Validates scheduled intervals.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIntervalList
public DayOfWeek getFirstDay()
public SimpleWeeklySchedule setFirstDay(DayOfWeek firstDay)
firstDay
- first daypublic DayOfWeek getLastDay()
public SimpleWeeklySchedule setLastDay(DayOfWeek lastDay)
lastDay
- last daypublic LocalTime getLogonTime()
public SimpleWeeklySchedule setLogonTime(LocalTime logonTime)
logonTime
- logon timepublic ZoneId getLogonTimeZone()
public SimpleWeeklySchedule setLogonTimeZone(ZoneId logonTimeZone)
logonTimeZone
- logon timezonepublic LocalTime getLogoutTime()
public SimpleWeeklySchedule setLogoutTime(LocalTime logoutTime)
logoutTime
- logout timepublic ZoneId getLogoutTimeZone()
public SimpleWeeklySchedule setLogoutTimeZone(ZoneId logoutTimeZone)
logoutTimeZone
- logout timezonepublic SimpleWeeklySchedule validate() throws ScheduleValidationException
SessionSchedule
validate
in interface SessionSchedule
ScheduleValidationException
- if the interval(s) is(are) invalid.Copyright © 2005–2024 Onix Solutions. All rights reserved.