Module jfxtras.icalendarfx
Class ByMonth
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<List<Month>,ByMonth>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleAbstract<Month,ByMonth>
jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByMonth
- All Implemented Interfaces:
Comparable<ByRule<List<Month>>>
,ByRule<List<Month>>
,RRulePart<List<Month>>
,VChild
,VElement
BYMONTH from RFC 5545, iCalendar 3.3.10, page 42
-
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 TypeMethodDescriptionstatic ByMonth
protected List
<VElementBase.Message> parseContent
(String content) Parse content line into calendar element.void
setValue
(int... months) streamRecurrences
(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.toString()
withValue
(int... months) Methods inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.byxxx.ByRuleAbstract
compareTo, errors, setValue, 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
-
ByMonth
public ByMonth() -
ByMonth
public ByMonth(int... months) -
ByMonth
-
ByMonth
-
-
Method Details
-
setValue
public void setValue(int... months) -
withValue
-
toString
- Overrides:
toString
in classRRulePartBase<List<Month>,
ByMonth>
-
streamRecurrences
public Stream<Temporal> streamRecurrences(Stream<Temporal> inStream, ChronoUnit chronoUnit, Temporal startTemporal) 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<Month>>
- Overrides:
streamRecurrences
in classByRuleAbstract<Month,
ByMonth> - Parameters:
inStream
- - Current stream to be added to or subtracted fromchronoUnit
- - ChronoUnit of last modification to inStream- Returns:
-
parseContent
Description copied from class:VElementBase
Parse content line into calendar element. If element contains childrenVElementBase.parseContent(String)
is invoked recursively to parse child elements also- Specified by:
parseContent
in classVElementBase
- Parameters:
content
- calendar content string to parse- Returns:
- log of information and error messages
-
parse
-