public static enum Client.Granularity extends Enum<Client.Granularity>
| Modifier and Type | Method and Description |
|---|---|
static Client.Granularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Client.Granularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Client.Granularity day
public static final Client.Granularity hour
public static final Client.Granularity minute
public static Client.Granularity[] values()
for (Client.Granularity c : Client.Granularity.values()) System.out.println(c);
public static Client.Granularity 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 © 2012 David Milne. All Rights Reserved.