public static enum Photo.TimeGranularity extends Enum<Photo.TimeGranularity>
Modifier and Type | Method and Description |
---|---|
static Photo.TimeGranularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Photo.TimeGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Photo.TimeGranularity YEAR
public static final Photo.TimeGranularity MONTH
public static final Photo.TimeGranularity DAY
public static final Photo.TimeGranularity HOUR
public static final Photo.TimeGranularity MIN
public static final Photo.TimeGranularity NONE
public static Photo.TimeGranularity[] values()
for (Photo.TimeGranularity c : Photo.TimeGranularity.values()) System.out.println(c);
public static Photo.TimeGranularity 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 null