public enum PredefinedGranularity extends Enum<PredefinedGranularity>
| Enum Constant and Description |
|---|
ALL |
DAY |
FIFTEEN_MINUTE |
HOUR |
MINUTE |
MONTH |
NONE |
QUARTER |
SECOND |
THIRTY_MINUTE |
WEEK |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
String |
getPredefinedGranularityString() |
static PredefinedGranularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredefinedGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredefinedGranularity NONE
public static final PredefinedGranularity ALL
public static final PredefinedGranularity SECOND
public static final PredefinedGranularity MINUTE
public static final PredefinedGranularity FIFTEEN_MINUTE
public static final PredefinedGranularity THIRTY_MINUTE
public static final PredefinedGranularity HOUR
public static final PredefinedGranularity DAY
public static final PredefinedGranularity WEEK
public static final PredefinedGranularity MONTH
public static final PredefinedGranularity QUARTER
public static final PredefinedGranularity YEAR
public static PredefinedGranularity[] values()
for (PredefinedGranularity c : PredefinedGranularity.values()) System.out.println(c);
public static PredefinedGranularity 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 nullpublic String getPredefinedGranularityString()
Copyright © 2019. All rights reserved.