protected static enum AbstractDateFunction.UNIT extends Enum<AbstractDateFunction.UNIT>
Modifier and Type | Method and Description |
---|---|
static AbstractDateFunction.UNIT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractDateFunction.UNIT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractDateFunction.UNIT YEAR
public static final AbstractDateFunction.UNIT MONTH
public static final AbstractDateFunction.UNIT WEEK
public static final AbstractDateFunction.UNIT DAY
public static final AbstractDateFunction.UNIT HOUR
public static final AbstractDateFunction.UNIT MINUTE
public static AbstractDateFunction.UNIT[] values()
for (AbstractDateFunction.UNIT c : AbstractDateFunction.UNIT.values()) System.out.println(c);
public static AbstractDateFunction.UNIT 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 © 2002-2021 Atlassian. All Rights Reserved.