public static enum TimeInterval.Unit extends Enum<TimeInterval.Unit>
Modifier and Type | Method and Description |
---|---|
static TimeInterval.Unit |
fromString(String intervalTypeString) |
static TimeInterval.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeInterval.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeInterval.Unit HOUR
public static final TimeInterval.Unit DAY
public static final TimeInterval.Unit WEEK
public static final TimeInterval.Unit MONTH
public static TimeInterval.Unit[] values()
for (TimeInterval.Unit c : TimeInterval.Unit.values()) System.out.println(c);
public static TimeInterval.Unit 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 static TimeInterval.Unit fromString(String intervalTypeString)
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.