Enum EventRecurrenceTypeEnum
- java.lang.Object
-
- java.lang.Enum<EventRecurrenceTypeEnum>
-
- org.ametys.plugins.explorer.calendars.EventRecurrenceTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<EventRecurrenceTypeEnum>
public enum EventRecurrenceTypeEnum extends Enum<EventRecurrenceTypeEnum>
The enum of event recurrence type
-
-
Constructor Summary
Constructors Modifier Constructor Description private
EventRecurrenceTypeEnum()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventRecurrenceTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventRecurrenceTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final EventRecurrenceTypeEnum NEVER
No recurrence
-
ALL_DAY
public static final EventRecurrenceTypeEnum ALL_DAY
All day frequency
-
ALL_WORKING_DAY
public static final EventRecurrenceTypeEnum ALL_WORKING_DAY
All working day frequency
-
WEEKLY
public static final EventRecurrenceTypeEnum WEEKLY
Weekly frequency
-
BIWEEKLY
public static final EventRecurrenceTypeEnum BIWEEKLY
Biweekly frequency
-
MONTHLY
public static final EventRecurrenceTypeEnum MONTHLY
Monthly frequency
-
-
Constructor Detail
-
EventRecurrenceTypeEnum
private EventRecurrenceTypeEnum()
-
-
Method Detail
-
values
public static EventRecurrenceTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventRecurrenceTypeEnum c : EventRecurrenceTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventRecurrenceTypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-