Class BySetPosition
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<List<Integer>, BySetPosition>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleAbstract<Integer, BySetPosition>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleIntegerAbstract<BySetPosition>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.BySetPosition
- All Implemented Interfaces:
Comparable<ByRule<List<Integer>>>, ByRule<List<Integer>>, RRulePart<List<Integer>>, VChild, VElement
-
Nested Class Summary
Nested classes/interfaces inherited from class VElementBase
VElementBase.Message, VElementBase.MessageEffect -
Field Summary
Fields inherited from class RRulePartBase
elementTypeFields inherited from class VElementBase
BEGIN, END -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpredicate tests value range in listener attached toRRulePartBase.getValue()Ensures added values are within allowed rangestatic BySetPositionstreamRecurrences(Stream<Temporal> inStream, ChronoUnit chronoUnit, Temporal startTemporal) 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 ByRuleIntegerAbstract
errors, parseContent, setValue, toStringMethods inherited from class RRulePartBase
equals, extractValue, getParent, getValue, hashCode, name, setParent, withValueMethods inherited from class VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
-
Constructor Details
-
BySetPosition
public BySetPosition() -
BySetPosition
-
BySetPosition
-
-
Method Details
-
isValidValue
Description copied from class:ByRuleIntegerAbstractpredicate tests value range in listener attached toRRulePartBase.getValue()Ensures added values are within allowed range- Specified by:
isValidValuein classByRuleIntegerAbstract<BySetPosition>
-
streamRecurrences
public Stream<Temporal> streamRecurrences(Stream<Temporal> inStream, ChronoUnit chronoUnit, Temporal startTemporal) 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<List<Integer>>- Overrides:
streamRecurrencesin classByRuleAbstract<Integer, BySetPosition>- Parameters:
inStream- - Current stream to be added to or subtracted fromchronoUnit- - ChronoUnit of last modification to inStream- Returns:
-
parse
-