public enum HourReplacerType extends Enum<HourReplacerType> implements ReplacerType
| Enum Constant and Description |
|---|
MINUS_ONE |
MINUS_TEN |
NOW |
PLUS_ONE |
PLUS_TEN |
| Modifier and Type | Method and Description |
|---|---|
int |
getHours() |
String |
getName() |
String |
getPerfix() |
static HourReplacerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HourReplacerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HourReplacerType NOW
public static final HourReplacerType PLUS_ONE
public static final HourReplacerType MINUS_ONE
public static final HourReplacerType PLUS_TEN
public static final HourReplacerType MINUS_TEN
public static HourReplacerType[] values()
for (HourReplacerType c : HourReplacerType.values()) System.out.println(c);
public static HourReplacerType 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 int getHours()
public String getPerfix()
getPerfix in interface ReplacerTypepublic String getName()
getName in interface ReplacerTypeCopyright © 2016. All rights reserved.