public enum RRuleElementType extends java.lang.Enum<RRuleElementType>
Enum Constant and Description |
---|
BY_DAY |
BY_HOUR |
BY_MINUTE |
BY_MONTH |
BY_MONTH_DAY |
BY_SECOND |
BY_SET_POSITION |
BY_WEEK_NUMBER |
BY_YEAR_DAY |
COUNT |
FREQUENCY |
INTERVAL |
UNTIL |
WEEK_START |
Modifier and Type | Method and Description |
---|---|
abstract void |
copyElement(RRuleElement<?> child,
RecurrenceRule2 destination)
copies the associated element from the source RecurrenceRule to the destination RecurrenceRule
|
static RRuleElementType |
enumFromClass(java.lang.Class<? extends VElement> myClass)
get enum from map
|
static RRuleElementType |
enumFromName(java.lang.String propertyName) |
java.time.temporal.ChronoUnit |
getChronoUnit() |
abstract RRuleElement<?> |
getElement(RecurrenceRule2 rrule)
Deprecated.
not needed due to addition of Orderer, may be deleted
|
abstract void |
parse(RecurrenceRule2 recurrenceRule,
java.lang.String content) |
int |
sortOrder() |
java.lang.String |
toString() |
static RRuleElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RRuleElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RRuleElementType FREQUENCY
public static final RRuleElementType INTERVAL
public static final RRuleElementType UNTIL
public static final RRuleElementType COUNT
public static final RRuleElementType WEEK_START
public static final RRuleElementType BY_MONTH
public static final RRuleElementType BY_WEEK_NUMBER
public static final RRuleElementType BY_YEAR_DAY
public static final RRuleElementType BY_MONTH_DAY
public static final RRuleElementType BY_DAY
public static final RRuleElementType BY_HOUR
public static final RRuleElementType BY_MINUTE
public static final RRuleElementType BY_SECOND
public static final RRuleElementType BY_SET_POSITION
public static RRuleElementType[] values()
for (RRuleElementType c : RRuleElementType.values()) System.out.println(c);
public static RRuleElementType 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 RRuleElementType enumFromName(java.lang.String propertyName)
public static RRuleElementType enumFromClass(java.lang.Class<? extends VElement> myClass)
get enum from map
public java.lang.String toString()
toString
in class java.lang.Enum<RRuleElementType>
public int sortOrder()
public java.time.temporal.ChronoUnit getChronoUnit()
@Deprecated public abstract RRuleElement<?> getElement(RecurrenceRule2 rrule)
Returns associated Element
public abstract void parse(RecurrenceRule2 recurrenceRule, java.lang.String content)
public abstract void copyElement(RRuleElement<?> child, RecurrenceRule2 destination)
copies the associated element from the source RecurrenceRule to the destination RecurrenceRule