public enum RRuleParameter extends java.lang.Enum<RRuleParameter>
RRule properties with the following data and methods:
Enum Constant and Description |
---|
COUNT |
FREQUENCY |
INTERVAL |
UNTIL |
WEEK_START |
Modifier and Type | Method and Description |
---|---|
abstract void |
copyProperty(RRule source,
RRule destination)
Copies property value from source to destination
|
abstract boolean |
isPropertyEqual(RRule r1,
RRule r2)
Checks is corresponding property is equal between r1 and r2
|
static RRuleParameter |
propertyFromName(java.lang.String propertyName)
get enum from name
|
abstract void |
setValue(RRule rrule,
java.lang.String value)
sets parameter value
|
abstract java.lang.String |
toParameterString(RRule rrule)
makes content line (RFC 5545 3.1) from a RRuleProperty property
|
java.lang.String |
toString()
Returns the iCalendar property name (e.g.
|
static RRuleParameter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RRuleParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RRuleParameter FREQUENCY
public static final RRuleParameter INTERVAL
public static final RRuleParameter COUNT
public static final RRuleParameter UNTIL
public static final RRuleParameter WEEK_START
public static RRuleParameter[] values()
for (RRuleParameter c : RRuleParameter.values()) System.out.println(c);
public static RRuleParameter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RRuleParameter propertyFromName(java.lang.String propertyName)
get enum from name
public java.lang.String toString()
Returns the iCalendar property name (e.g. LANGUAGE)
toString
in class java.lang.Enum<RRuleParameter>
public abstract void setValue(RRule rrule, java.lang.String value)
sets parameter value
public abstract java.lang.String toParameterString(RRule rrule)
makes content line (RFC 5545 3.1) from a RRuleProperty property
public abstract void copyProperty(RRule source, RRule destination)
Copies property value from source to destination