JOpt.SDK.Implementation
Class OpeningHours
java.lang.Object
JOpt.SDK.Implementation.OpeningHours
- All Implemented Interfaces:
- IOpeningHours
- public class OpeningHours
- extends java.lang.Object
- implements IOpeningHours
|
Constructor Summary |
OpeningHours(java.util.GregorianCalendar openingHoursBegin,
java.util.GregorianCalendar openingHoursEnd)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
openingHoursBeginInSecs
public long openingHoursBeginInSecs
openingHoursEndInSecs
public long openingHoursEndInSecs
OpeningHours
public OpeningHours(java.util.GregorianCalendar openingHoursBegin,
java.util.GregorianCalendar openingHoursEnd)
setOpeningHoursBegin
public void setOpeningHoursBegin(java.util.GregorianCalendar openingHoursBegin)
- Specified by:
setOpeningHoursBegin in interface IOpeningHours
- Parameters:
openingHoursBegin - set the desired time window begin date and time. In order to achieve the best optimization
results time windows shall not be chosen too restrictively/tight
getOpeningHoursBegin
public java.util.GregorianCalendar getOpeningHoursBegin()
- Specified by:
getOpeningHoursBegin in interface IOpeningHours
- Returns:
- the desired time window (begin)
getOpeningHoursBeginInSecs
public long getOpeningHoursBeginInSecs()
- Specified by:
getOpeningHoursBeginInSecs in interface IOpeningHours
- Returns:
- the desired time window (begin)
setOpeningHoursEnd
public void setOpeningHoursEnd(java.util.GregorianCalendar openingHoursEnd)
- Specified by:
setOpeningHoursEnd in interface IOpeningHours
- Parameters:
openingHoursEnd - set the desired time window end date and time. In order to achieve the best optimization results
time windows shall not be chosen too restrictively
getOpeningHoursEnd
public java.util.GregorianCalendar getOpeningHoursEnd()
- Specified by:
getOpeningHoursEnd in interface IOpeningHours
- Returns:
- the desired time window (end)
getOpeningHoursEndInSecs
public long getOpeningHoursEndInSecs()
- Specified by:
getOpeningHoursEndInSecs in interface IOpeningHours
- Returns:
- the desired time window (end)