public enum OracleIntervalType extends Enum<OracleIntervalType>
Enum Constant and Description |
---|
DAY |
HOUR |
MINUTE |
MONTH |
SECOND |
YEAR |
Modifier and Type | Method and Description |
---|---|
static OracleIntervalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OracleIntervalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OracleIntervalType YEAR
public static final OracleIntervalType MONTH
public static final OracleIntervalType DAY
public static final OracleIntervalType HOUR
public static final OracleIntervalType MINUTE
public static final OracleIntervalType SECOND
public static OracleIntervalType[] values()
for (OracleIntervalType c : OracleIntervalType.values()) System.out.println(c);
public static OracleIntervalType 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 © 2013–2017 Alibaba Group. All rights reserved.