public static enum Photo.BackdatedTimeGranularity extends java.lang.Enum<Photo.BackdatedTimeGranularity>
Modifier and Type | Method and Description |
---|---|
static Photo.BackdatedTimeGranularity |
fromValue(java.lang.String value) |
java.lang.String |
getValue() |
static Photo.BackdatedTimeGranularity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Photo.BackdatedTimeGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Photo.BackdatedTimeGranularity YEAR
public static final Photo.BackdatedTimeGranularity MONTH
public static final Photo.BackdatedTimeGranularity DAY
public static final Photo.BackdatedTimeGranularity HOUR
public static final Photo.BackdatedTimeGranularity MIN
public static final Photo.BackdatedTimeGranularity NONE
public static Photo.BackdatedTimeGranularity[] values()
for (Photo.BackdatedTimeGranularity c : Photo.BackdatedTimeGranularity.values()) System.out.println(c);
public static Photo.BackdatedTimeGranularity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public static Photo.BackdatedTimeGranularity fromValue(java.lang.String value)