public static enum MillisecondsValue.Unit extends java.lang.Enum<MillisecondsValue.Unit>
Modifier and Type | Method and Description |
---|---|
long |
base()
Unit base.
|
static MillisecondsValue.Unit |
getUnit(java.lang.String suff)
Get the unit.
|
java.lang.String |
toString()
toString()
|
static MillisecondsValue.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MillisecondsValue.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MillisecondsValue.Unit ms
public static final MillisecondsValue.Unit ms_
public static final MillisecondsValue.Unit s
public static final MillisecondsValue.Unit min
public static final MillisecondsValue.Unit h
public static final MillisecondsValue.Unit d
public static MillisecondsValue.Unit[] values()
for (MillisecondsValue.Unit c : MillisecondsValue.Unit.values()) System.out.println(c);
public static MillisecondsValue.Unit valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long base()
public static MillisecondsValue.Unit getUnit(java.lang.String suff) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public java.lang.String toString()
toString
in class java.lang.Enum<MillisecondsValue.Unit>
Copyright © 2013 Dassault Systèmes, All Rights Reserved.