Enum Class RecurrenceType
- All Implemented Interfaces:
Serializable,Comparable<RecurrenceType>,Constable
Specifies the recurrence type of a recurring appointment or task.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe item recurs on a daily basis.The item recurs on the nth weekday of each month.The item recurs on a specific day of each month.The recurrence type is not specified.The item recurs on a weekly basis.The item recurs on the nth weekday of a specific month each year.The item recurs on a specific day each year. -
Method Summary
Modifier and TypeMethodDescriptionstatic RecurrenceTypeReturns the enum constant of this class with the specified name.static RecurrenceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DAILY
The item recurs on a daily basis. -
WEEKLY
The item recurs on a weekly basis. -
MONTHLY
The item recurs on a specific day of each month. -
MONTH_NTH
The item recurs on the nth weekday of each month. -
YEARLY
The item recurs on a specific day each year. -
YEAR_NTH
The item recurs on the nth weekday of a specific month each year. -
NONE
The recurrence type is not specified.
-
-
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
-