Package net.fortuna.ical4j.model
Enum Recur.Frequency
- java.lang.Object
-
- java.lang.Enum<Recur.Frequency>
-
- net.fortuna.ical4j.model.Recur.Frequency
-
- All Implemented Interfaces:
Serializable
,Comparable<Recur.Frequency>
- Enclosing class:
- Recur
public static enum Recur.Frequency extends Enum<Recur.Frequency>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Recur.Frequency
valueOf(String name)
Returns the enum constant of this type with the specified name.static Recur.Frequency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECONDLY
public static final Recur.Frequency SECONDLY
-
MINUTELY
public static final Recur.Frequency MINUTELY
-
HOURLY
public static final Recur.Frequency HOURLY
-
DAILY
public static final Recur.Frequency DAILY
-
WEEKLY
public static final Recur.Frequency WEEKLY
-
MONTHLY
public static final Recur.Frequency MONTHLY
-
YEARLY
public static final Recur.Frequency YEARLY
-
-
Method Detail
-
values
public static Recur.Frequency[] 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 (Recur.Frequency c : Recur.Frequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Recur.Frequency 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
-
-