|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TimeOptions.Units> com.esri.core.map.TimeOptions.Units
public static enum TimeOptions.Units
Units for time options.
Enum Constant Summary | |
---|---|
Centuries
|
|
Days
|
|
Decades
|
|
Hours
|
|
Milliseconds
|
|
Minutes
|
|
Months
|
|
Seconds
|
|
Unknown
|
|
Weeks
|
|
Years
|
Method Summary | |
---|---|
static TimeOptions.Units |
fromString(String v)
Gets a style from a string. |
String |
getValue()
Gets the value. |
String |
toString()
|
static TimeOptions.Units |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimeOptions.Units[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TimeOptions.Units Unknown
public static final TimeOptions.Units Centuries
public static final TimeOptions.Units Decades
public static final TimeOptions.Units Years
public static final TimeOptions.Units Months
public static final TimeOptions.Units Weeks
public static final TimeOptions.Units Days
public static final TimeOptions.Units Hours
public static final TimeOptions.Units Minutes
public static final TimeOptions.Units Seconds
public static final TimeOptions.Units Milliseconds
Method Detail |
---|
public static TimeOptions.Units[] values()
for (TimeOptions.Units c : TimeOptions.Units.values()) System.out.println(c);
public static TimeOptions.Units 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 String getValue()
public String toString()
toString
in class Enum<TimeOptions.Units>
public static TimeOptions.Units fromString(String v)
v
- the string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |