public static enum TimeUnitInterval.IntervalUnit extends Enum<TimeUnitInterval.IntervalUnit>
| Enum Constant and Description |
|---|
AUTO |
DAYS |
HOURS |
MINUTES |
MONTHS |
SECONDS |
WEEKS |
YEARS |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TimeUnitInterval.IntervalUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnitInterval.IntervalUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeUnitInterval.IntervalUnit SECONDS
public static final TimeUnitInterval.IntervalUnit MINUTES
public static final TimeUnitInterval.IntervalUnit HOURS
public static final TimeUnitInterval.IntervalUnit DAYS
public static final TimeUnitInterval.IntervalUnit WEEKS
public static final TimeUnitInterval.IntervalUnit MONTHS
public static final TimeUnitInterval.IntervalUnit YEARS
public static final TimeUnitInterval.IntervalUnit AUTO
public static TimeUnitInterval.IntervalUnit[] values()
for (TimeUnitInterval.IntervalUnit c : TimeUnitInterval.IntervalUnit.values()) System.out.println(c);
public static TimeUnitInterval.IntervalUnit 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<TimeUnitInterval.IntervalUnit>Copyright © 2012–2021 Graylog, Inc.. All rights reserved.