Module jfxtras.icalendarfx
Class Interval
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase<Integer,Interval>
jfxtras.icalendarfx.properties.component.recurrence.rrule.Interval
INTERVAL
RFC 5545 iCalendar 3.3.10, page 40
The INTERVAL rule part contains a positive integer representing at
which intervals the recurrence rule repeats. The default value is
"1", meaning every second for a SECONDLY rule, every minute for a
MINUTELY rule, every hour for an HOURLY rule, every day for a
DAILY rule, every week for a WEEKLY rule, every month for a
MONTHLY rule, and every year for a YEARLY rule. For example,
within a DAILY rule, a value of "8" means every eight days.
-
Nested Class Summary
Nested classes/interfaces inherited from class jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect
-
Field Summary
FieldsFields 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 TypeMethodDescriptionboolean
errors()
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 parentint
hashCode()
static Interval
protected List<VElementBase.Message>
parseContent
(String content) Parse content line into calendar element.Methods inherited from class jfxtras.icalendarfx.properties.component.recurrence.rrule.RRulePartBase
extractValue, getParent, getValue, name, setParent, setValue, toString, withValue
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
-
Field Details
-
DEFAULT_INTERVAL
public static final int DEFAULT_INTERVAL- See Also:
-
-
Constructor Details
-
Interval
public Interval() -
Interval
-
Interval
-
-
Method Details
-
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
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRRulePartBase<Integer,
Interval>
-
equals
- Overrides:
equals
in classRRulePartBase<Integer,
Interval>
-
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 -
parse
-