public static enum SolTime.TimeUnits extends Enum<SolTime.TimeUnits>
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
String |
toString() |
static SolTime.TimeUnits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SolTime.TimeUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolTime.TimeUnits HOURS
public static final SolTime.TimeUnits MINUTES
public static final SolTime.TimeUnits SECONDS
public static final SolTime.TimeUnits NONE
public static SolTime.TimeUnits[] values()
for (SolTime.TimeUnits c : SolTime.TimeUnits.values()) System.out.println(c);
public static SolTime.TimeUnits 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 nullpublic String toString()
toString in class Enum<SolTime.TimeUnits>public int getId()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.