Package org.dmfs.rfc5545.recur
Enum Class RecurrenceRule.Skip
- All Implemented Interfaces:
Serializable,Comparable<RecurrenceRule.Skip>,Constable
- Enclosing class:
- RecurrenceRule
Values of the new SKIP parameter as added in tools.ietf.org/html/draft-daboo-icalendar-rscale-03
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBACKWARD means that non-existing instanced get rolled back to the previous day (for leap days) or month (for leap months).FORWARD means that non-existing instanced get rolled forward to the next day (for leap days) or month (for leap months).OMIT is the default value. -
Method Summary
Modifier and TypeMethodDescriptionstatic RecurrenceRule.SkipReturns the enum constant of this class with the specified name.static RecurrenceRule.Skip[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OMIT
OMIT is the default value. It means that non-existing dates are just ignored. -
BACKWARD
BACKWARD means that non-existing instanced get rolled back to the previous day (for leap days) or month (for leap months). -
FORWARD
FORWARD means that non-existing instanced get rolled forward to the next day (for leap days) or month (for leap months).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-