public static enum Subscription.DurationUnit extends Enum<Subscription.DurationUnit>
| Enum Constant and Description |
|---|
DAY |
MONTH |
UNRECOGNIZED |
| Modifier and Type | Method and Description |
|---|---|
static Subscription.DurationUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.DurationUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subscription.DurationUnit DAY
public static final Subscription.DurationUnit MONTH
public static final Subscription.DurationUnit UNRECOGNIZED
public static Subscription.DurationUnit[] values()
for (Subscription.DurationUnit c : Subscription.DurationUnit.values()) System.out.println(c);
public static Subscription.DurationUnit 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 © 2013–2018. All rights reserved.