Interface ByRule<T>
- All Superinterfaces:
Comparable<ByRule<T>>, RRulePart<T>, VChild, VElement
- All Known Implementing Classes:
ByDay, ByHour, ByMinute, ByMonth, ByMonthDay, ByRuleAbstract, ByRuleIntegerAbstract, BySecond, BySetPosition, ByWeekNumber, ByYearDay
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 Summary
Modifier and TypeMethodDescriptionstreamRecurrences(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.Methods inherited from interface Comparable
compareTo
-
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 fromchronoUnit- - ChronoUnit of last modification to inStreamstartTemporal- - start Temporal (date or date/time)- Returns:
-