public static enum YearMonthIntervalType.YearMonthResolution extends Enum<YearMonthIntervalType.YearMonthResolution>
Note: The order of this enum reflects the granularity from coarse to fine.
Enum Constant and Description |
---|
MONTH |
YEAR |
YEAR_TO_MONTH |
Modifier and Type | Method and Description |
---|---|
static YearMonthIntervalType.YearMonthResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YearMonthIntervalType.YearMonthResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YearMonthIntervalType.YearMonthResolution YEAR
public static final YearMonthIntervalType.YearMonthResolution YEAR_TO_MONTH
public static final YearMonthIntervalType.YearMonthResolution MONTH
public static YearMonthIntervalType.YearMonthResolution[] values()
for (YearMonthIntervalType.YearMonthResolution c : YearMonthIntervalType.YearMonthResolution.values()) System.out.println(c);
public static YearMonthIntervalType.YearMonthResolution 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 © 2014–2020 The Apache Software Foundation. All rights reserved.