All Superinterfaces:
Comparable<ByRule<T>>, RRulePart<T>, VChild, VElement
All Known Implementing Classes:
ByDay, ByHour, ByMinute, ByMonth, ByMonthDay, ByRuleAbstract, ByRuleIntegerAbstract, BySecond, BySetPosition, ByWeekNumber, ByYearDay

public interface ByRule<T> extends Comparable<ByRule<T>>, RRulePart<T>
Interface for a rule that applies a modification to a Stream of start date/times, such as BYxxx rules, in a recurring event (RRULE).
See Also:
  • Method Details

    • streamRecurrences

      Stream<Temporal> streamRecurrences(Stream<Temporal> inStream, ChronoUnit chronoUnit, Temporal dateTimeStart)
      New stream of date/times made after applying rule that either filters out some date/times or adds additional date/times.
      Parameters:
      inStream - - Current stream to be added to or subtracted from
      chronoUnit - - ChronoUnit of last modification to inStream
      startTemporal - - start Temporal (date or date/time)
      Returns: