public enum TimeInterval extends Enum<TimeInterval>
| Modifier and Type | Method and Description |
|---|---|
static TimeInterval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeInterval DAILY
public static final TimeInterval WEEKLY
public static final TimeInterval MONTHLY
public static final TimeInterval YEARLY
public static TimeInterval[] values()
for (TimeInterval c : TimeInterval.values()) System.out.println(c);
public static TimeInterval 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 nullCopyright © 2016. All Rights Reserved.