com.ibm.commerce.marketing.promotion.schedule

Interface Schedule

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int[] ALL_WEEK_LONG
      Constant, entire week
      static java.lang.String COPYRIGHT
      IBM Copyright
      static java.util.Date END_OF_THE_DAY
      constant, end of the day
      static java.util.Date END_OF_TIME
      Constant the end of time
      static java.util.Date START_OF_THE_DAY
      constant start of the day
      static java.util.Date START_OF_TIME
      Constant the beginning of time
    • Field Detail

      • START_OF_TIME

        static final java.util.Date START_OF_TIME
        Constant the beginning of time
      • END_OF_TIME

        static final java.util.Date END_OF_TIME
        Constant the end of time
      • START_OF_THE_DAY

        static final java.util.Date START_OF_THE_DAY
        constant start of the day
      • END_OF_THE_DAY

        static final java.util.Date END_OF_THE_DAY
        constant, end of the day
      • ALL_WEEK_LONG

        static final int[] ALL_WEEK_LONG
        Constant, entire week
    • Method Detail

      • isActive

        boolean isActive()
        Checks to see if a schedule is active or not
        Returns:
        true if the schedule is active, false otherwise
      • isActiveAsOf

        boolean isActiveAsOf(java.util.Date theTime)
        Checks to see if a schedule is active at a certain time
        Parameters:
        theTime - the "certain time"
        Returns:
        true, if the schedule is active at that time, false otherwise
      • getOverallStartDate

        java.util.Date getOverallStartDate()
        Returns the overall start date of this schedule
        Returns:
        the overall start date of this schedule
      • getOverallEndDate

        java.util.Date getOverallEndDate()
        Returns the overall end date of this schedule
        Returns:
        the overall end date of this schedule