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