biweekly.property
Enum RecurrenceRule.Frequency

java.lang.Object
  extended by java.lang.Enum<RecurrenceRule.Frequency>
      extended by biweekly.property.RecurrenceRule.Frequency
All Implemented Interfaces:
Serializable, Comparable<RecurrenceRule.Frequency>
Enclosing class:
RecurrenceRule

public static enum RecurrenceRule.Frequency
extends Enum<RecurrenceRule.Frequency>

Represents the frequency at which the recurrence rule repeats itself.

Author:
Michael Angstadt

Enum Constant Summary
DAILY
           
HOURLY
           
MINUTELY
           
MONTHLY
           
SECONDLY
           
WEEKLY
           
YEARLY
           
 
Method Summary
static RecurrenceRule.Frequency valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RecurrenceRule.Frequency[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SECONDLY

public static final RecurrenceRule.Frequency SECONDLY

MINUTELY

public static final RecurrenceRule.Frequency MINUTELY

HOURLY

public static final RecurrenceRule.Frequency HOURLY

DAILY

public static final RecurrenceRule.Frequency DAILY

WEEKLY

public static final RecurrenceRule.Frequency WEEKLY

MONTHLY

public static final RecurrenceRule.Frequency MONTHLY

YEARLY

public static final RecurrenceRule.Frequency YEARLY
Method Detail

values

public static RecurrenceRule.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 (RecurrenceRule.Frequency c : RecurrenceRule.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 RecurrenceRule.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.