|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TimePeriod.Unit> com.esri.gpt.framework.util.TimePeriod.Unit
public static enum TimePeriod.Unit
Time unit.
Enum Constant Summary | |
---|---|
day
day |
|
hour
hour |
|
millisecond
millisecond |
|
minute
minute |
|
month
month |
|
second
second |
|
week
week |
Method Summary | |
---|---|
static TimePeriod.Unit |
checkValueOf(String value)
Checks string value. |
long |
getMilliseconds()
Gets milliseconds. |
boolean |
isToLocalizedStringeable()
|
boolean |
isToStringeable()
|
static TimePeriod.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimePeriod.Unit[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TimePeriod.Unit millisecond
public static final TimePeriod.Unit second
public static final TimePeriod.Unit minute
public static final TimePeriod.Unit hour
public static final TimePeriod.Unit day
public static final TimePeriod.Unit week
public static final TimePeriod.Unit month
Method Detail |
---|
public static TimePeriod.Unit[] values()
for (TimePeriod.Unit c : TimePeriod.Unit.values()) System.out.println(c);
public static TimePeriod.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 name
NullPointerException
- if the argument is nullpublic static TimePeriod.Unit checkValueOf(String value)
value
- string representation of the value
millisecond
if value
doesn't represent valid unitpublic long getMilliseconds()
public boolean isToStringeable()
public boolean isToLocalizedStringeable()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |