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