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