java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<T>
jfxtras.icalendarfx.components.VComponentBase<T>
jfxtras.icalendarfx.components.VCommon<T>
jfxtras.icalendarfx.components.VPrimary<T>
jfxtras.icalendarfx.components.VRepeatableBase<T>
- Type Parameters:
T
- - concrete subclass
- All Implemented Interfaces:
VComponent
,VRepeatable<T>
,VChild
,VElement
,VParent
- Direct Known Subclasses:
StandardOrDaylight
Contains following properties:
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect
Nested classes/interfaces inherited from interface jfxtras.icalendarfx.components.VRepeatable
VRepeatable.MergedIterator<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List
<RecurrenceDates> private RecurrenceRule
private RecurrenceRuleCache
Fields inherited from class jfxtras.icalendarfx.components.VPrimary
DTSTART_COMPARATOR
Fields inherited from class jfxtras.icalendarfx.components.VComponentBase
parent
Fields inherited from class jfxtras.icalendarfx.VParentBase
contentLineGenerator, orderer
Fields inherited from class jfxtras.icalendarfx.VElementBase
BEGIN, END
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerrors()
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 parenterrorsRecurrence
(List<? extends PropertyBaseRecurrence<?>> recurrenceDates, DateTimeStart dtstart) errorsRepeatable
(VRepeatable<?> testObj) RDATE Recurrence Date-Times RFC 5545 iCalendar 3.8.5.2, page 120.RRULE, Recurrence Rule RFC 5545 iCalendar 3.8.5.3, page 122.Handles caching of recurrence start Temporal values.void
setRecurrenceDates
(List<RecurrenceDates> recurrenceDates) void
setRecurrenceRule
(RecurrenceRule recurrenceRule) streamRecurrences
(Temporal start) Produces a stream of dates or date-times (depending on DTSTART) that represents the start of each element in the recurrence set.Methods inherited from class jfxtras.icalendarfx.components.VPrimary
dateTimeStartListenerHook, getComments, getDateTimeStart, isWholeDay, setComments, setDateTimeStart, setDateTimeStart, setDateTimeStart, withComments, withComments, withComments, withDateTimeStart, withDateTimeStart, withDateTimeStart
Methods inherited from class jfxtras.icalendarfx.components.VCommon
getNonStandard, setNonStandard, withNonStandard, withNonStandard, withNonStandard
Methods inherited from class jfxtras.icalendarfx.components.VComponentBase
addSubcomponent, getParent, isContentValid, name, setParent
Methods inherited from class jfxtras.icalendarfx.VParentBase
addChild, addChild, addChild, addChildInternal, checkChild, childrenUnmodifiable, collectGetterMap, collectSetterMap, copyChildrenInto, equals, getGetter, getGetters, getSetter, getSetters, hashCode, orderChild, orderChild, orderChild, parseContent, parseContent, processInLineChild, removeChild, removeChild, replaceChild, replaceChild, toString, withChild
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, newEmptyVElement, parse, throwMessageExceptions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jfxtras.icalendarfx.components.VComponent
calendarList, toString
Methods inherited from interface jfxtras.icalendarfx.VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChild
Methods inherited from interface jfxtras.icalendarfx.components.VRepeatable
checkDateTimeStartConsistency, checkRecurrencesConsistency, getDateTimeStart, isRecurrence, isRecurrenceSetEmpty, lastRecurrence, previousStreamValue, setRecurrenceRule, setRecurrenceRule, streamRecurrences, streamRecurrences, withRecurrenceDates, withRecurrenceDates, withRecurrenceDates, withRecurrenceDates, withRecurrenceRule, withRecurrenceRule, withRecurrenceRule
-
Field Details
-
recurrenceDates
-
recurrenceRule
-
streamer
-
-
Constructor Details
-
VRepeatableBase
VRepeatableBase() -
VRepeatableBase
-
-
Method Details
-
getRecurrenceDates
RDATE Recurrence Date-Times RFC 5545 iCalendar 3.8.5.2, page 120. This property defines the list of DATE-TIME values for recurring events, to-dos, journal entries, or time zone definitions. NOTE: DOESN'T CURRENTLY SUPPORT PERIOD VALUE TYPE- Specified by:
getRecurrenceDates
in interfaceVRepeatable<T>
-
setRecurrenceDates
- Specified by:
setRecurrenceDates
in interfaceVRepeatable<T>
-
getRecurrenceRule
RRULE, Recurrence Rule RFC 5545 iCalendar 3.8.5.3, page 122. This property defines a rule or repeating pattern for recurring events, to-dos, journal entries, or time zone definitions If component is not repeating the value is null. Examples: RRULE:FREQ=DAILY;COUNT=10 RRULE:FREQ=WEEKLY;UNTIL=19971007T000000Z;WKST=SU;BYDAY=TU,TH- Specified by:
getRecurrenceRule
in interfaceVRepeatable<T>
-
setRecurrenceRule
- Specified by:
setRecurrenceRule
in interfaceVRepeatable<T>
-
streamRecurrences
Description copied from interface:VRepeatable
Produces a stream of dates or date-times (depending on DTSTART) that represents the start of each element in the recurrence set. The values are calculated after applying DTSTART, RDATE, RRULE, and EXDATE properties. If the RRULE is forever, then the stream has no end as well. For a VEvent without RRULE or RDATE the stream will contain only one element.- Specified by:
streamRecurrences
in interfaceVRepeatable<T>
- Parameters:
start
- - include recurrences that END before this value- Returns:
- - stream of start dates or date/times for the recurrence set
-
errors
Description copied from interface:VElement
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 parent- Specified by:
errors
in interfaceVElement
- Overrides:
errors
in classVParentBase<T>
- Returns:
- - list of error messages
-
errorsRepeatable
-
errorsRecurrence
protected static List<String> errorsRecurrence(List<? extends PropertyBaseRecurrence<?>> recurrenceDates, DateTimeStart dtstart) -
recurrenceCache
Description copied from interface:VRepeatable
Handles caching of recurrence start Temporal values.- Specified by:
recurrenceCache
in interfaceVRepeatable<T>
-