public static enum DayTimeIntervalType.DayTimeResolution extends Enum<DayTimeIntervalType.DayTimeResolution>
Note: The order of this enum reflects the granularity from coarse to fine.
Enum Constant and Description |
---|
DAY |
DAY_TO_HOUR |
DAY_TO_MINUTE |
DAY_TO_SECOND |
HOUR |
HOUR_TO_MINUTE |
HOUR_TO_SECOND |
MINUTE |
MINUTE_TO_SECOND |
SECOND |
Modifier and Type | Method and Description |
---|---|
static DayTimeIntervalType.DayTimeResolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayTimeIntervalType.DayTimeResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayTimeIntervalType.DayTimeResolution DAY
public static final DayTimeIntervalType.DayTimeResolution DAY_TO_HOUR
public static final DayTimeIntervalType.DayTimeResolution DAY_TO_MINUTE
public static final DayTimeIntervalType.DayTimeResolution DAY_TO_SECOND
public static final DayTimeIntervalType.DayTimeResolution HOUR
public static final DayTimeIntervalType.DayTimeResolution HOUR_TO_MINUTE
public static final DayTimeIntervalType.DayTimeResolution HOUR_TO_SECOND
public static final DayTimeIntervalType.DayTimeResolution MINUTE
public static final DayTimeIntervalType.DayTimeResolution MINUTE_TO_SECOND
public static final DayTimeIntervalType.DayTimeResolution SECOND
public static DayTimeIntervalType.DayTimeResolution[] values()
for (DayTimeIntervalType.DayTimeResolution c : DayTimeIntervalType.DayTimeResolution.values()) System.out.println(c);
public static DayTimeIntervalType.DayTimeResolution 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.