@PublicAPI public enum TimeWindow extends Enum<TimeWindow> implements Serializable
Modifier and Type | Method and Description |
---|---|
static TimeWindow |
getTimeWindow(String timeWindow) |
String |
toString() |
static TimeWindow |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeWindow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeWindow DAILY
public static final TimeWindow WEEKLY
public static final TimeWindow MONTHLY
public static final TimeWindow YEARLY
public static TimeWindow[] values()
for (TimeWindow c : TimeWindow.values()) System.out.println(c);
public static TimeWindow 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 toString()
toString
in class Enum<TimeWindow>
Enum.toString()
public static TimeWindow getTimeWindow(String timeWindow)