Class RecurrenceInfo


  • public class RecurrenceInfo
    extends java.lang.Object
    Recurrence Info Object
    • Field Detail

      • module

        public static final java.lang.String module
      • startDate

        protected java.util.Date startDate
      • rDateList

        protected java.util.List<java.util.Date> rDateList
      • eDateList

        protected java.util.List<java.util.Date> eDateList
    • Method Detail

      • getID

        public java.lang.String getID()
        Returns the primary key for this value object
      • getStartDate

        public java.util.Date getStartDate()
        Returns the startDate Date object.
      • getStartTime

        public long getStartTime()
        Returns the long value of the startDate.
      • getRecurrenceRuleIterator

        public java.util.Iterator<RecurrenceRule> getRecurrenceRuleIterator()
        Returns a recurrence rule iterator
      • getRecurrenceDateIterator

        public java.util.Iterator<java.util.Date> getRecurrenceDateIterator()
        Returns a sorted recurrence date iterator
      • getExceptionRuleIterator

        public java.util.Iterator<RecurrenceRule> getExceptionRuleIterator()
        Returns a exception recurrence iterator
      • getExceptionDateIterator

        public java.util.Iterator<java.util.Date> getExceptionDateIterator()
        Returns a sorted exception date iterator
      • getCurrentCount

        public long getCurrentCount()
        Returns the current count of this recurrence.
      • first

        public long first()
        Returns the first recurrence.
      • last

        public long last()
        Returns the estimated last recurrence.
      • next

        public long next()
        Returns the next recurrence from now.
      • next

        public long next​(long fromTime)
        Returns the next recurrence from the specified time.
      • isValidCurrent

        public boolean isValidCurrent()
        Checks the current recurrence validity at the moment.
      • isValidCurrent

        public boolean isValidCurrent​(long checkTime)
        Checks the current recurrence validity for checkTime.
      • primaryKey

        public java.lang.String primaryKey()
      • toTemporalExpression

        public static TemporalExpression toTemporalExpression​(RecurrenceInfo info)
        Convert a RecurrenceInfo object to a TemporalExpression object.
        Parameters:
        info - A RecurrenceInfo instance
        Returns:
        A TemporalExpression instance