public class Interval extends RRuleElementBase<java.lang.Integer,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.
valueProperty
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INTERVAL |
Constructor and Description |
---|
Interval() |
Interval(java.lang.Integer interval) |
Interval(Interval source) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
errors()
Produces a list of error messages indicating problems with calendar element
VElement.errors() is invoked recursively to return errors of child elements in addition to errors in parent |
int |
hashCode() |
static Interval |
parse(java.lang.String content) |
java.util.List<java.lang.String> |
parseContent(java.lang.String content)
Parse content line into calendar element.
|
elementType, getParent, getValue, name, setParent, setValue, toString, valueProperty, withValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toContent
public static final int DEFAULT_INTERVAL
public Interval()
public Interval(java.lang.Integer interval)
public Interval(Interval source)
public java.util.List<java.lang.String> parseContent(java.lang.String content)
VElement
Parse content line into calendar element.
If element contains children VElement.parseContent(String)
is invoked recursively to parse child elements also
content
- calendar content string to parsepublic static Interval parse(java.lang.String content)
public int hashCode()
hashCode
in class RRuleElementBase<java.lang.Integer,Interval>
public boolean equals(java.lang.Object obj)
equals
in class RRuleElementBase<java.lang.Integer,Interval>
public java.util.List<java.lang.String> errors()
VElement
Produces a list of error messages indicating problems with calendar element
VElement.errors()
is invoked recursively to return errors of child elements in addition to errors in parent
errors
in interface VElement
errors
in class RRuleElementBase<java.lang.Integer,Interval>