Class ByRuleAbstract<T,U>
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<List<T>,U>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleAbstract<T,U>
- All Implemented Interfaces:
Comparable<ByRule<List<T>>>, ByRule<List<T>>, RRulePart<List<T>>, VChild, VElement
- Direct Known Subclasses:
ByDay, ByMonth, ByRuleIntegerAbstract
public abstract class ByRuleAbstract<T,U>
extends RRulePartBase<List<T>,U>
implements ByRule<List<T>>
BYxxx rule that modify frequency rule (see RFC 5545, iCalendar 3.3.10 Page 42)
The BYxxx rules must be applied in a specific order
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class VElementBase
VElementBase.Message, VElementBase.MessageEffect -
Field Summary
FieldsFields inherited from class RRulePartBase
elementTypeFields inherited from class VElementBase
BEGIN, END -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninterrors()Produces a list of error messages indicating problems with calendar elementVElement.errors()is invoked recursively to return errors of child elements in addition to errors in parentvoidvoidSet the value of this parametervoidstreamRecurrences(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 class RRulePartBase
equals, extractValue, getParent, getValue, hashCode, name, setParent, toString, withValueMethods inherited from class VElementBase
elementName, isContentValid, newEmptyVElement, parse, parseContent, throwMessageExceptions
-
Field Details
-
SORT_ORDER
-
-
Constructor Details
-
ByRuleAbstract
ByRuleAbstract() -
ByRuleAbstract
ByRuleAbstract(T... values) -
ByRuleAbstract
ByRuleAbstract(ByRuleAbstract<T, U> source)
-
-
Method Details
-
setValue
-
setValue
-
setValue
-
withValue
-
withValue
-
streamRecurrences
public Stream<Temporal> streamRecurrences(Stream<Temporal> inStream, ChronoUnit chronoUnit, Temporal dateTimeStart) Description copied from interface:ByRuleNew stream of date/times made after applying rule that either filters out some date/times or adds additional date/times.- Specified by:
streamRecurrencesin interfaceByRule<T>- Parameters:
inStream- - Current stream to be added to or subtracted fromchronoUnit- - ChronoUnit of last modification to inStream- Returns:
-
compareTo
-
errors
Description copied from interface:VElementProduces a list of error messages indicating problems with calendar elementVElement.errors()is invoked recursively to return errors of child elements in addition to errors in parent
-