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