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