public static enum RateCondition.Period extends Enum<RateCondition.Period>
| Modifier and Type | Field and Description |
|---|---|
long |
milliseconds |
| Modifier and Type | Method and Description |
|---|---|
static RateCondition.Period |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RateCondition.Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateCondition.Period SECOND
public static final RateCondition.Period MINUTE
public static final RateCondition.Period HOUR
public static final RateCondition.Period DAY
public static final RateCondition.Period WEEK
public static RateCondition.Period[] values()
for (RateCondition.Period c : RateCondition.Period.values()) System.out.println(c);
public static RateCondition.Period 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 © 2015–2017 Red Hat, Inc.. All rights reserved.