Enum RelativeZeitLiteral.ZeitEinheit
- java.lang.Object
-
- java.lang.Enum<RelativeZeitLiteral.ZeitEinheit>
-
- de.bsvrz.ibv.uda.interpreter.daten.konstante.RelativeZeitLiteral.ZeitEinheit
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelativeZeitLiteral.ZeitEinheit>
,java.lang.constant.Constable
- Enclosing class:
- RelativeZeitLiteral
public static enum RelativeZeitLiteral.ZeitEinheit extends java.lang.Enum<RelativeZeitLiteral.ZeitEinheit>
die Einheiten für eine Zeitdauer.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MILLISEKUNDE
Angabe in Milisekunden.MINUTE
Angabe in Minuten.SEKUNDE
Angabe in Sekunden.STUNDE
Angabe in Stunden.TAG
Angabe in Tagen.
-
Method Summary
Modifier and Type Method Description static RelativeZeitLiteral.ZeitEinheit
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelativeZeitLiteral.ZeitEinheit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAG
public static final RelativeZeitLiteral.ZeitEinheit TAG
Angabe in Tagen.
-
STUNDE
public static final RelativeZeitLiteral.ZeitEinheit STUNDE
Angabe in Stunden.
-
MINUTE
public static final RelativeZeitLiteral.ZeitEinheit MINUTE
Angabe in Minuten.
-
SEKUNDE
public static final RelativeZeitLiteral.ZeitEinheit SEKUNDE
Angabe in Sekunden.
-
MILLISEKUNDE
public static final RelativeZeitLiteral.ZeitEinheit MILLISEKUNDE
Angabe in Milisekunden.
-
-
Method Detail
-
values
public static RelativeZeitLiteral.ZeitEinheit[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelativeZeitLiteral.ZeitEinheit 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
-
-