biweekly.util
Enum Recurrence.Frequency
java.lang.Object
java.lang.Enum<Recurrence.Frequency>
biweekly.util.Recurrence.Frequency
- All Implemented Interfaces:
- Serializable, Comparable<Recurrence.Frequency>
- Enclosing class:
- Recurrence
public static enum Recurrence.Frequency
- extends Enum<Recurrence.Frequency>
Represents the frequency at which a recurrence rule repeats itself.
- Author:
- Michael Angstadt
SECONDLY
public static final Recurrence.Frequency SECONDLY
MINUTELY
public static final Recurrence.Frequency MINUTELY
HOURLY
public static final Recurrence.Frequency HOURLY
DAILY
public static final Recurrence.Frequency DAILY
WEEKLY
public static final Recurrence.Frequency WEEKLY
MONTHLY
public static final Recurrence.Frequency MONTHLY
YEARLY
public static final Recurrence.Frequency YEARLY
values
public static Recurrence.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 (Recurrence.Frequency c : Recurrence.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 Recurrence.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 name
NullPointerException
- if the argument is null
Copyright © 2013 Michael Angstadt. All Rights Reserved.