cz.cuni.amis.pogamut.sposh.elements
Enum SolTime.TimeUnits
java.lang.Object
java.lang.Enum<SolTime.TimeUnits>
cz.cuni.amis.pogamut.sposh.elements.SolTime.TimeUnits
- All Implemented Interfaces:
- Serializable, Comparable<SolTime.TimeUnits>
- Enclosing class:
- SolTime
public static enum SolTime.TimeUnits
- extends Enum<SolTime.TimeUnits>
HOURS
public static final SolTime.TimeUnits HOURS
MINUTES
public static final SolTime.TimeUnits MINUTES
SECONDS
public static final SolTime.TimeUnits SECONDS
NONE
public static final SolTime.TimeUnits NONE
values
public static SolTime.TimeUnits[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SolTime.TimeUnits c : SolTime.TimeUnits.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SolTime.TimeUnits valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<SolTime.TimeUnits>
getId
public int getId()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.