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
-
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
elementTypeFields inherited from class jfxtras.icalendarfx.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 jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase
equals, extractValue, getParent, getValue, hashCode, name, setParent, toString, withValueMethods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, parseContent, throwMessageExceptionsMethods 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:RRulePartSet 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: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
- Specified by:
compareToin interfaceComparable<T>
-
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
-