JOpt.SDK.Implementation
Class OpeningHours

java.lang.Object
  extended byJOpt.SDK.Implementation.OpeningHours
All Implemented Interfaces:
IOpeningHours

public class OpeningHours
extends java.lang.Object
implements IOpeningHours


Field Summary
 long openingHoursBeginInSecs
           
 long openingHoursEndInSecs
           
 
Constructor Summary
OpeningHours(java.util.GregorianCalendar openingHoursBegin, java.util.GregorianCalendar openingHoursEnd)
           
 
Method Summary
 java.util.GregorianCalendar getOpeningHoursBegin()
           
 long getOpeningHoursBeginInSecs()
           
 java.util.GregorianCalendar getOpeningHoursEnd()
           
 long getOpeningHoursEndInSecs()
           
 void setOpeningHoursBegin(java.util.GregorianCalendar openingHoursBegin)
           
 void setOpeningHoursEnd(java.util.GregorianCalendar openingHoursEnd)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

openingHoursBeginInSecs

public long openingHoursBeginInSecs

openingHoursEndInSecs

public long openingHoursEndInSecs
Constructor Detail

OpeningHours

public OpeningHours(java.util.GregorianCalendar openingHoursBegin,
                    java.util.GregorianCalendar openingHoursEnd)
Method Detail

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)