com.ibm.commerce.marketing.promotion.schedule

Class TimeRangeWithinADaySchedule

  • All Implemented Interfaces:
    Schedule, ScheduleLookAheadSupport, XMLizable, java.io.Serializable


    public class TimeRangeWithinADaySchedule
    extends TimeRangeSchedule
    This class extends the TimeRangeSchedule class and defines a time range within a day that the promotion is active.

    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>
     
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright
        See Also:
        Constant Field Values
    • Constructor Detail

      • TimeRangeWithinADaySchedule

        public TimeRangeWithinADaySchedule()
        Default constructor
      • TimeRangeWithinADaySchedule

        public TimeRangeWithinADaySchedule(java.util.Date aStartTime,
                                           java.util.Date anEndTime)
        Constructor
        Parameters:
        aStartTime - start time, inclusive
        anEndTime - end time, inclusive
      • TimeRangeWithinADaySchedule

        public TimeRangeWithinADaySchedule(java.util.Date aStartTime,
                                           java.util.Date anEndTime,
                                           boolean anIncludeStart,
                                           boolean anIncludeEnd)
        Constructor
        Parameters:
        aStartTime - start time
        anEndTime - end time
        anIncludeStart - whether start time is included in the active period of the schedule
        anIncludeEnd - whether end time is included in the active period of the schedule