public static enum RepeaterUnit.UnitName extends Enum<RepeaterUnit.UnitName>
Enum Constant and Description |
---|
DAY |
FORTNIGHT |
HOUR |
MINUTE |
MONTH |
SEASON |
SECOND |
WEEK |
WEEKDAY |
WEEKEND |
YEAR |
Modifier and Type | Method and Description |
---|---|
static RepeaterUnit.UnitName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepeaterUnit.UnitName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepeaterUnit.UnitName YEAR
public static final RepeaterUnit.UnitName SEASON
public static final RepeaterUnit.UnitName MONTH
public static final RepeaterUnit.UnitName FORTNIGHT
public static final RepeaterUnit.UnitName WEEK
public static final RepeaterUnit.UnitName WEEKEND
public static final RepeaterUnit.UnitName WEEKDAY
public static final RepeaterUnit.UnitName DAY
public static final RepeaterUnit.UnitName HOUR
public static final RepeaterUnit.UnitName MINUTE
public static final RepeaterUnit.UnitName SECOND
public static RepeaterUnit.UnitName[] values()
for (RepeaterUnit.UnitName c : RepeaterUnit.UnitName.values()) System.out.println(c);
public static RepeaterUnit.UnitName 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 © 2002 – 2020 Project Wonder.