public static enum DateType.Type extends Enum<DateType.Type>
Enum Constant and Description |
---|
DATE |
DATE_TIME |
MONTH |
TIME |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static DateType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateType.Type DATE
public static final DateType.Type TIME
public static final DateType.Type DATE_TIME
public static final DateType.Type MONTH
public static final DateType.Type WEEK
public static final DateType.Type YEAR
public static DateType.Type[] values()
for (DateType.Type c : DateType.Type.values()) System.out.println(c);
public static DateType.Type 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 © 2022. All rights reserved.