public class TimeRangeWithinADaySchedule extends TimeRangeSchedule
XML Snippet for TimeRangeWithinADaySchedule:
<TimeWithinADay impl="com.ibm.commerce.marketing.promotion.schedule.TimeRangeWithinADaySchedule"> <Start inclusive="true">00:00:00</Start> <End inclusive="false">23:59:59</End> </TimeWithinADay>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
TimeRangeWithinADaySchedule()
Default constructor
|
TimeRangeWithinADaySchedule(java.util.Date aStartTime, java.util.Date anEndTime)
Constructor
|
TimeRangeWithinADaySchedule(java.util.Date aStartTime, java.util.Date anEndTime, boolean anIncludeStart, boolean anIncludeEnd)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void | fromXML(org.w3c.dom.Node node)
Transforms the XML node into its corresponding real Object.
|
java.util.Date | getOverallEndDate()
Returns the overall end date, always return Schedule.END_OF_TIME
|
java.util.Date | getOverallStartDate()
Returns the overall start date, always return Schedule.START_OF_TIME
|
boolean | isActive()
Checks to see if a schedule is active or not
|
boolean | isActiveAsOf(java.util.Date theTime)
Checks to see if a schedule is active at a certain time
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public TimeRangeWithinADaySchedule()
public TimeRangeWithinADaySchedule(java.util.Date aStartTime, java.util.Date anEndTime)
public TimeRangeWithinADaySchedule(java.util.Date aStartTime, java.util.Date anEndTime, boolean anIncludeStart, boolean anIncludeEnd)
public boolean isActive()
public boolean isActiveAsOf(java.util.Date theTime)
public void fromXML(org.w3c.dom.Node node) throws DeXMLizationException
public java.lang.String toXML() throws XMLizationException
public java.util.Date getOverallStartDate()
public java.util.Date getOverallEndDate()