public interface ByRule extends java.lang.Comparable<ByRule>
Interface for a rule that applies a modification to a Stream of start date/times, such as BYxxx rules, in a recurring event (RRULE).
ByRuleAbstract
,
ByMonth
,
ByWeekNumber
,
ByYearDay
,
ByMonthDay
,
ByDay
,
ByHour
,
ByMinute
,
BySecond
,
BySetPosition
Modifier and Type | Method and Description |
---|---|
ByRuleEnum |
byRuleType() |
static void |
copy(ByRule source,
ByRule destination)
Deep copy all fields from source to destination
|
void |
copyTo(ByRule destination) |
java.util.stream.Stream<java.time.temporal.Temporal> |
stream(java.util.stream.Stream<java.time.temporal.Temporal> inStream,
javafx.beans.property.ObjectProperty<java.time.temporal.ChronoUnit> chronoUnit,
java.time.temporal.Temporal startTemporal)
New stream of date/times made after applying rule that either filters out some date/times
or adds additional date/times.
|
ByRuleEnum byRuleType()
java.util.stream.Stream<java.time.temporal.Temporal> stream(java.util.stream.Stream<java.time.temporal.Temporal> inStream, javafx.beans.property.ObjectProperty<java.time.temporal.ChronoUnit> chronoUnit, java.time.temporal.Temporal startTemporal)
New stream of date/times made after applying rule that either filters out some date/times or adds additional date/times.
inStream
- - Current stream to be added to or subtracted fromchronoUnit
- - ChronoUnit of last modification to inStreamstartTemporal
- - start Temporal (date or date/time)void copyTo(ByRule destination)