public enum RollCycles extends Enum<RollCycles> implements RollCycle
Modifier and Type | Method and Description |
---|---|
String |
format() |
int |
length() |
static RollCycles |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RollCycles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
java.time.ZoneId |
zone() |
public static final RollCycles SECONDS
public static final RollCycles MINUTES
public static final RollCycles HOURS
public static final RollCycles DAYS
public static RollCycles[] values()
for (RollCycles c : RollCycles.values()) System.out.println(c);
public static RollCycles 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 © 2016. All rights reserved.