public enum IntervalStyle extends Enum<IntervalStyle>
Enum Constant and Description |
---|
ISO_8601 |
POSTGRES |
POSTGRES_VERBOSE |
SQL_STANDARD |
Modifier and Type | Method and Description |
---|---|
static IntervalStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntervalStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalStyle SQL_STANDARD
public static final IntervalStyle POSTGRES
public static final IntervalStyle POSTGRES_VERBOSE
public static final IntervalStyle ISO_8601
public static IntervalStyle[] values()
for (IntervalStyle c : IntervalStyle.values()) System.out.println(c);
public static IntervalStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null