Interface InstanceIterator

All Known Implementing Classes:
Composite, CountLimitedRecurrenceRuleIterator, EffectiveInstancesIterator, EmptyIterator

@Deprecated public interface InstanceIterator
Deprecated.
in favour of InstanceIterator
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fastForward(long until)
    Deprecated.
    Skip all instances till until.
    boolean
    Deprecated.
    Returns true if there is at least one more instance to iterate and false otherwise.
    long
    Deprecated.
    Get the next instance (in milliseconds since the epoch) of this set.
  • Method Details

    • hasNext

      boolean hasNext()
      Deprecated.
      Returns true if there is at least one more instance to iterate and false otherwise.
    • next

      long next()
      Deprecated.
      Get the next instance (in milliseconds since the epoch) of this set. Do not call this if hasNext() returns false.
    • fastForward

      void fastForward(long until)
      Deprecated.
      Skip all instances till until. If until is an instance itself it will be the next iterated instance. If the rule doesn't recur till that date the next call to hasNext() will return false.