Module jfxtras.icalendarfx
Class ByYearDay
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<List<Integer>,ByYearDay>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleAbstract<Integer,ByYearDay>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleIntegerAbstract<ByYearDay>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByYearDay
- All Implemented Interfaces:
Comparable<ByRule<List<Integer>>>
,ByRule<List<Integer>>
,RRulePart<List<Integer>>
,VChild
,VElement
By Year Day
BYYEARDAY
RFC 5545, iCalendar 3.3.10, page 42
The BYYEARDAY rule part specifies a COMMA-separated list of days
of the year. Valid values are 1 to 366 or -366 to -1. For
example, -1 represents the last day of the year (December 31st)
and -306 represents the 306th to the last day of the year (March
1st). The BYYEARDAY rule part MUST NOT be specified when the FREQ
rule part is set to DAILY, WEEKLY, or MONTHLY.
-
Nested Class Summary
Nested classes/interfaces inherited from class jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect
-
Field Summary
Fields 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 TypeMethodDescriptionpredicate tests value range in listener attached toRRulePartBase.getValue()
Ensures added values are within allowed rangestatic ByYearDay
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.byxxx.ByRuleIntegerAbstract
errors, parseContent, setValue, toString
Methods inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleAbstract
compareTo, setValue, setValue, withValue, withValue
Methods inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase
equals, extractValue, getParent, getValue, hashCode, name, setParent, withValue
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ByYearDay
public ByYearDay() -
ByYearDay
-
ByYearDay
-
-
Method Details
-
isValidValue
Description copied from class:ByRuleIntegerAbstract
predicate tests value range in listener attached toRRulePartBase.getValue()
Ensures added values are within allowed range- Specified by:
isValidValue
in classByRuleIntegerAbstract<ByYearDay>
-
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<List<Integer>>
- Overrides:
streamRecurrences
in classByRuleAbstract<Integer,
ByYearDay> - Parameters:
inStream
- - Current stream to be added to or subtracted fromchronoUnit
- - ChronoUnit of last modification to inStream- Returns:
-
parse
-