public enum Rhythm extends Enum<Rhythm>
| Enum Constant and Description |
|---|
CUSTOM |
DAILY |
DOES_NOT_REPEAT |
MONTHLY |
WEEKLY |
YEARLY |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static Rhythm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rhythm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rhythm DOES_NOT_REPEAT
public static final Rhythm DAILY
public static final Rhythm WEEKLY
public static final Rhythm MONTHLY
public static final Rhythm YEARLY
public static final Rhythm CUSTOM
public static Rhythm[] values()
for (Rhythm c : Rhythm.values()) System.out.println(c);
public static Rhythm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2015. All rights reserved.