public class DefaultSessionSchedule extends Object implements SessionSchedule
| Modifier and Type | Field and Description | 
|---|---|
protected static org.slf4j.Logger | 
LOG  | 
| Constructor and Description | 
|---|
DefaultSessionSchedule(SessionSettings settings,
                      SessionID sessionID)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isNonStopSession()  | 
boolean | 
isSameSession(Calendar time1,
             Calendar time2)
Predicate for determining if the two times are in the same session 
 | 
boolean | 
isSessionTime()
Predicate for determining if the session should be active at the current time. 
 | 
String | 
toString()  | 
public DefaultSessionSchedule(SessionSettings settings, SessionID sessionID) throws ConfigError, FieldConvertError
ConfigErrorFieldConvertErrorpublic boolean isSameSession(Calendar time1, Calendar time2)
SessionScheduleisSameSession in interface SessionScheduletime1 - test time 1time2 - test time 2public boolean isNonStopSession()
isNonStopSession in interface SessionSchedulepublic boolean isSessionTime()
SessionScheduleisSessionTime in interface SessionScheduleCopyright © 2021. All rights reserved.