Module jfxtras.icalendarfx
Class ByMonth
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<List<T>,U>
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
elementTypeFields inherited from class jfxtras.icalendarfx.VElementBase
BEGIN, END -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ByMonthprotected List<VElementBase.Message>parseContent(String content) Parse content line into calendar element.voidsetValue(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, withValueMethods inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase
equals, extractValue, getParent, getValue, hashCode, name, setParent, withValueMethods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptionsMethods 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:
toStringin classRRulePartBase<List<Month>,ByMonth>
-
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<Month>>- Overrides:
streamRecurrencesin 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:VElementBaseParse content line into calendar element. If element contains childrenVElementBase.parseContent(String)is invoked recursively to parse child elements also- Specified by:
parseContentin classVElementBase- Parameters:
content- calendar content string to parse- Returns:
- log of information and error messages
-
parse
-