public static enum YTimer.TimeUnit extends java.lang.Enum<YTimer.TimeUnit>
Enum Constant and Description |
---|
DAY |
HOUR |
MIN |
MONTH |
MSEC |
SEC |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static YTimer.TimeUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YTimer.TimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YTimer.TimeUnit YEAR
public static final YTimer.TimeUnit MONTH
public static final YTimer.TimeUnit WEEK
public static final YTimer.TimeUnit DAY
public static final YTimer.TimeUnit HOUR
public static final YTimer.TimeUnit MIN
public static final YTimer.TimeUnit SEC
public static final YTimer.TimeUnit MSEC
public static YTimer.TimeUnit[] values()
for (YTimer.TimeUnit c : YTimer.TimeUnit.values()) System.out.println(c);
public static YTimer.TimeUnit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2004-2014 The YAWL Foundation.