Module jfxtras.icalendarfx
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 jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect
-
Field Summary
FieldsFields inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase
elementType
Fields inherited from class jfxtras.icalendarfx.VElementBase
BEGIN, END
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
errors()
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 parentvoid
void
Set the value of this parametervoid
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.Methods inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase
equals, extractValue, getParent, getValue, hashCode, name, setParent, toString, withValue
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, parseContent, throwMessageExceptions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
SORT_ORDER
-
-
Constructor Details
-
ByRuleAbstract
ByRuleAbstract() -
ByRuleAbstract
ByRuleAbstract(T... values) -
ByRuleAbstract
ByRuleAbstract(ByRuleAbstract<T, U> source)
-
-
Method Details
-
setValue
Description copied from interface:RRulePart
Set the value of this parameter -
setValue
-
setValue
-
withValue
-
withValue
-
streamRecurrences
public Stream<Temporal> streamRecurrences(Stream<Temporal> inStream, ChronoUnit chronoUnit, Temporal dateTimeStart) Description copied from interface:ByRule
New stream of date/times made after applying rule that either filters out some date/times or adds additional date/times.- Specified by:
streamRecurrences
in interfaceByRule<T>
- Parameters:
inStream
- - Current stream to be added to or subtracted fromchronoUnit
- - ChronoUnit of last modification to inStream- Returns:
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T>
-
errors
Description copied from interface:VElement
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 parent
-