public enum GranularityType extends Enum<GranularityType>
| Enum Constant and Description |
|---|
YYYY_MM_DD |
YYYY_MM_DD_THH_MM_SS_Z |
| Modifier and Type | Method and Description |
|---|---|
static GranularityType |
fromValue(String v) |
String |
value() |
static GranularityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GranularityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GranularityType YYYY_MM_DD
public static final GranularityType YYYY_MM_DD_THH_MM_SS_Z
public static GranularityType[] values()
for (GranularityType c : GranularityType.values()) System.out.println(c);
public static GranularityType 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 value()
public static GranularityType fromValue(String v)
Copyright © 2020. All rights reserved.