protected static enum NearestDateUtils.TimeInterval extends Enum<NearestDateUtils.TimeInterval>
| Enum Constant and Description |
|---|
DAY |
HALF_HOUR |
HALF_MINUTE |
HOUR |
MINUTE |
MONTH |
QUARTER |
QUARTER_HOUR |
QUARTER_MINUTE |
SECOND |
WEEK_MONDAY |
WEEK_SUNDAY |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static NearestDateUtils.TimeInterval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NearestDateUtils.TimeInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearestDateUtils.TimeInterval YEAR
public static final NearestDateUtils.TimeInterval QUARTER
public static final NearestDateUtils.TimeInterval MONTH
public static final NearestDateUtils.TimeInterval WEEK_SUNDAY
public static final NearestDateUtils.TimeInterval WEEK_MONDAY
public static final NearestDateUtils.TimeInterval DAY
public static final NearestDateUtils.TimeInterval HOUR
public static final NearestDateUtils.TimeInterval HALF_HOUR
public static final NearestDateUtils.TimeInterval QUARTER_HOUR
public static final NearestDateUtils.TimeInterval MINUTE
public static final NearestDateUtils.TimeInterval HALF_MINUTE
public static final NearestDateUtils.TimeInterval QUARTER_MINUTE
public static final NearestDateUtils.TimeInterval SECOND
public static NearestDateUtils.TimeInterval[] values()
for (NearestDateUtils.TimeInterval c : NearestDateUtils.TimeInterval.values()) System.out.println(c);
public static NearestDateUtils.TimeInterval 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 © 2021 The Apache Software Foundation. All rights reserved.