Class RecurrenceInfo

  • public class RecurrenceInfo
    extends Object
    Recurrence Info Object
    • Method Detail

      • getID

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

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

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

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

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

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

        public Iterator<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 String primaryKey()
      • toTemporalExpression

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