public static enum RecurrenceRule.RfcMode extends java.lang.Enum<RecurrenceRule.RfcMode>
| Enum Constant and Description |
|---|
RFC2445_LAX
Parses recurrence rules according to RFC 2445 in a more tolerant way.
|
RFC2445_STRICT
Parses recurrence rules according to RFC 2445.
|
RFC5545_LAX
Parses recurrence rules according to RFC 5545 in a more tolerant way.
|
RFC5545_STRICT
Parses recurrence rules according to RFC 5545.
|
| Modifier and Type | Method and Description |
|---|---|
static RecurrenceRule.RfcMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecurrenceRule.RfcMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecurrenceRule.RfcMode RFC2445_STRICT
public static final RecurrenceRule.RfcMode RFC2445_LAX
This mode also accepts rules that comply with RFC 5545.
Note: Using this mode rules are evaluated
differently than with RFC5545_LAX. RFC5545_LAX will just drop all invalid parts and evaluate the rule according to RFC 5545. This
mode will evaluate all rules.
Also this mode will output rules that comply with RFC 2445.
public static final RecurrenceRule.RfcMode RFC5545_STRICT
public static final RecurrenceRule.RfcMode RFC5545_LAX
This mode also accepts rules that comply with RFC 2445 but not with RFC 5545.
Note: Using this mode rules
are evaluated differently than with RFC2445_LAX. This mode will just drop all invalid parts and evaluate the rule according to RFC 5545.
RFC2445_LAX will evaluate all rules.
Also this mode will output rules that comply with RFC 5545.
public static RecurrenceRule.RfcMode[] values()
for (RecurrenceRule.RfcMode c : RecurrenceRule.RfcMode.values()) System.out.println(c);
public static RecurrenceRule.RfcMode 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 null