public enum IntervalType extends Enum<IntervalType>
| Enum Constant and Description |
|---|
WITH_TIMEZONE
WITH_TIMEZONE
|
WITHOUT_TIMEZONE
WITHOUT_TIMEZONE
|
| Modifier and Type | Method and Description |
|---|---|
static IntervalType |
valueOf(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 WITH_TIMEZONE
public static final IntervalType WITHOUT_TIMEZONE
public static IntervalType[] values()
for (IntervalType c : IntervalType.values()) System.out.println(c);
public static IntervalType 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 nullCopyright © 2017. All Rights Reserved.