Package com.avpkit.core
Enum ITimeValue.Unit
- java.lang.Object
-
- java.lang.Enum<ITimeValue.Unit>
-
- com.avpkit.core.ITimeValue.Unit
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ITimeValue.Unit>
- Enclosing class:
- ITimeValue
public static enum ITimeValue.Unit extends java.lang.Enum<ITimeValue.Unit>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYSHOURSMICROSECONDSMILLISECONDSMINUTESNANOSECONDSSECONDS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ITimeValue.UnitswigToEnum(int swigValue)intswigValue()static ITimeValue.UnitvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ITimeValue.Unit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAYS
public static final ITimeValue.Unit DAYS
-
HOURS
public static final ITimeValue.Unit HOURS
-
MINUTES
public static final ITimeValue.Unit MINUTES
-
SECONDS
public static final ITimeValue.Unit SECONDS
-
MILLISECONDS
public static final ITimeValue.Unit MILLISECONDS
-
MICROSECONDS
public static final ITimeValue.Unit MICROSECONDS
-
NANOSECONDS
public static final ITimeValue.Unit NANOSECONDS
-
-
Method Detail
-
values
public static ITimeValue.Unit[] 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 (ITimeValue.Unit c : ITimeValue.Unit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ITimeValue.Unit valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
swigValue
public final int swigValue()
-
swigToEnum
public static ITimeValue.Unit swigToEnum(int swigValue)
-
-