public static class WaitFor.Unit extends EnumeratedAttribute
Modifier and Type | Field and Description |
---|---|
static String |
DAY
day string
|
static String |
HOUR
hour string
|
static String |
MILLISECOND
millisecond string
|
static String |
MINUTE
minute string
|
static String |
SECOND
second string
|
static String |
WEEK
week string
|
value
Constructor and Description |
---|
Unit()
Constructor the Unit enumerated type.
|
Modifier and Type | Method and Description |
---|---|
long |
getMultiplier()
Convert the value to a multipler (millisecond to unit).
|
String[] |
getValues()
This is the only method a subclass needs to implement.
|
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
public static final String DAY
public static final String HOUR
public static final String MILLISECOND
public static final String MINUTE
public static final String SECOND
public static final String WEEK
public long getMultiplier()
public String[] getValues()
getValues
in class EnumeratedAttribute