public static enum Product.ProductPeriod extends Enum<Product.ProductPeriod>
| Modifier and Type | Method and Description |
|---|---|
static Product.ProductPeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Product.ProductPeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Product.ProductPeriod minutes
public static final Product.ProductPeriod days
public static final Product.ProductPeriod months
public static final Product.ProductPeriod years
public static Product.ProductPeriod[] values()
for (Product.ProductPeriod c : Product.ProductPeriod.values()) System.out.println(c);
public static Product.ProductPeriod 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 BillForward. All rights reserved.