public static enum PostgresIntervalExpr.PostgresIntervalUnitField extends Enum<PostgresIntervalExpr.PostgresIntervalUnitField>
Enum Constant and Description |
---|
DAYS |
HOURS |
MINUTES |
MONTHS |
SECONDS |
WEEKS |
YEARS |
Modifier and Type | Method and Description |
---|---|
static PostgresIntervalExpr.PostgresIntervalUnitField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostgresIntervalExpr.PostgresIntervalUnitField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresIntervalExpr.PostgresIntervalUnitField YEARS
public static final PostgresIntervalExpr.PostgresIntervalUnitField MONTHS
public static final PostgresIntervalExpr.PostgresIntervalUnitField WEEKS
public static final PostgresIntervalExpr.PostgresIntervalUnitField DAYS
public static final PostgresIntervalExpr.PostgresIntervalUnitField HOURS
public static final PostgresIntervalExpr.PostgresIntervalUnitField MINUTES
public static final PostgresIntervalExpr.PostgresIntervalUnitField SECONDS
public static PostgresIntervalExpr.PostgresIntervalUnitField[] values()
for (PostgresIntervalExpr.PostgresIntervalUnitField c : PostgresIntervalExpr.PostgresIntervalUnitField.values()) System.out.println(c);
public static PostgresIntervalExpr.PostgresIntervalUnitField 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 © 2008–2023 Apache Software Foundation. All rights reserved.