Module jfxtras.icalendarfx
Class Frequency
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<FrequencyType,Frequency>
jfxtras.icalendarfx.properties.component.recurrence.rrule.Frequency
- All Implemented Interfaces:
RRulePart<FrequencyType>
,VChild
,VElement
FREQUENCY
FREQ
RFC 5545 iCalendar 3.3.10 p40
The FREQ rule part identifies the type of recurrence rule. This
rule part MUST be specified in the recurrence rule. Valid values
include SECONDLY, to specify repeating events based on an interval
of a second or more; MINUTELY, to specify repeating events based
on an interval of a minute or more; HOURLY, to specify repeating
events based on an interval of an hour or more; DAILY, to specify
repeating events based on an interval of a day or more; WEEKLY, to
specify repeating events based on an interval of a week or more;
MONTHLY, to specify repeating events based on an interval of a
month or more; and YEARLY, to specify repeating events based on an
interval of a year or more.
Frequency value. Possible values include:
FrequencyType.SECONDLY
FrequencyType.MINUTELY
FrequencyType.HOURLY
FrequencyType.DAILY
FrequencyType.WEEKLY
FrequencyType.MONTHLY
FrequencyType.YEARLY
- See Also:
-
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 TypeMethodDescription(package private) TemporalAdjuster
adjuster
(int interval) TemporalAdjuster to enable frequency stream inRecurrenceRuleValue.streamRecurrences(Temporal)
static Frequency
protected List<VElementBase.Message>
parseContent
(String content) Parse content line into calendar element.(package private) void
streamRecurrences
(Temporal start, int interval) STREAM Resulting stream of start date/times by applying Frequency temporal adjuster and all, if any, Rules.Methods inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase
equals, errors, extractValue, getParent, getValue, hashCode, name, setParent, setValue, toString, withValue
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
-
Constructor Details
-
Frequency
-
Frequency
public Frequency() -
Frequency
-
-
Method Details
-
setValue
-
withValue
-
adjuster
TemporalAdjuster to enable frequency stream inRecurrenceRuleValue.streamRecurrences(Temporal)
-
streamRecurrences
STREAM Resulting stream of start date/times by applying Frequency temporal adjuster and all, if any, Rules. Starts on startDateTime, which MUST be a valid occurrence date/time, but not necessarily the first date/time (DTSTART) in the sequence. A later startDateTime can be used to more efficiently get to later dates in the stream.- Parameters:
start
- - starting point of stream (MUST be a valid occurrence date/time)- 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
-