public enum EIntervalUnit extends Enum<EIntervalUnit>
| Enum Constant and Description |
|---|
DAY |
HOUR |
MILLISECOND |
MINUTE |
MONTH |
SECOND |
WEEK |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static EIntervalUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EIntervalUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EIntervalUnit MILLISECOND
public static final EIntervalUnit SECOND
public static final EIntervalUnit MINUTE
public static final EIntervalUnit HOUR
public static final EIntervalUnit DAY
public static final EIntervalUnit WEEK
public static final EIntervalUnit MONTH
public static final EIntervalUnit YEAR
public static EIntervalUnit[] values()
for (EIntervalUnit c : EIntervalUnit.values()) System.out.println(c);
public static EIntervalUnit 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–2021 Philip Helger. All rights reserved.