JOpt.SDK.Implementation
Class WorkingHours
java.lang.Object
JOpt.SDK.Implementation.WorkingHours
- All Implemented Interfaces:
- IWorkingHours
- public class WorkingHours
- extends java.lang.Object
- implements IWorkingHours
|
Constructor Summary |
WorkingHours(java.util.GregorianCalendar workingHoursBegin,
java.util.GregorianCalendar workingHoursEnd)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workingHoursBeginInSecs
public long workingHoursBeginInSecs
workingHoursEndInSecs
public long workingHoursEndInSecs
WorkingHours
public WorkingHours(java.util.GregorianCalendar workingHoursBegin,
java.util.GregorianCalendar workingHoursEnd)
setWorkingHoursBegin
public void setWorkingHoursBegin(java.util.GregorianCalendar workingHoursBegin)
- Specified by:
setWorkingHoursBegin in interface IWorkingHours
- Parameters:
workingHoursBegin - defines the working hours begin date and time
getWorkingHoursBegin
public java.util.GregorianCalendar getWorkingHoursBegin()
- Specified by:
getWorkingHoursBegin in interface IWorkingHours
- Returns:
- the the working hours
getWorkingHoursBeginInSecs
public long getWorkingHoursBeginInSecs()
- Specified by:
getWorkingHoursBeginInSecs in interface IWorkingHours
- Returns:
- the working hours (begin)
setWorkingHoursEnd
public void setWorkingHoursEnd(java.util.GregorianCalendar workingHoursEnd)
- Specified by:
setWorkingHoursEnd in interface IWorkingHours
- Parameters:
workingHoursEnd - defines the working hours end date and time
getWorkingHoursEnd
public java.util.GregorianCalendar getWorkingHoursEnd()
- Specified by:
getWorkingHoursEnd in interface IWorkingHours
- Returns:
- the desired time window (end)
getWorkingHoursEndInSecs
public long getWorkingHoursEndInSecs()
- Specified by:
getWorkingHoursEndInSecs in interface IWorkingHours
- Returns:
- the working hours (end)