public enum IntervalType extends java.lang.Enum<IntervalType>
Typ eines Zeitintervalles.
Enum Constant and Description |
---|
DAY
Typ für ein Intervall mit einer Länge von einer Tag
|
HOUR
Typ für ein Intervall mit einer Länge von einer Stunde
|
MINUTE
Typ für ein Intervall mit einer Länge von einer Minute
|
MINUTE15
Typ für ein Intervall mit einer Länge von 15 Minuten
|
MONTH
Typ für ein Intervall mit einer Länge von einer Monat
|
SECOND
Typ für ein Intervall mit einer Länge von einer Sekunde
|
YEAR
Typ für ein Intervall mit einer Länge von einer Jahr
|
Modifier and Type | Method and Description |
---|---|
static IntervalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntervalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalType SECOND
public static final IntervalType MINUTE
public static final IntervalType MINUTE15
public static final IntervalType HOUR
public static final IntervalType DAY
public static final IntervalType MONTH
public static final IntervalType YEAR
public static IntervalType[] values()
for (IntervalType c : IntervalType.values()) System.out.println(c);
public static IntervalType 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 null