public enum IntervalInMins extends Enum<IntervalInMins>
Enum Constant and Description |
---|
FIVE_MINS
Enum value FiveMins.
|
SIXTY_MINS
Enum value SixtyMins.
|
THIRTY_MINS
Enum value ThirtyMins.
|
THREE_MINS
Enum value ThreeMins.
|
Modifier and Type | Method and Description |
---|---|
static IntervalInMins |
fromString(String value)
Parses a serialized value to a IntervalInMins instance.
|
String |
toString() |
static IntervalInMins |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntervalInMins[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalInMins THREE_MINS
public static final IntervalInMins FIVE_MINS
public static final IntervalInMins THIRTY_MINS
public static final IntervalInMins SIXTY_MINS
public static IntervalInMins[] values()
for (IntervalInMins c : IntervalInMins.values()) System.out.println(c);
public static IntervalInMins 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 static IntervalInMins fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<IntervalInMins>
Copyright © 2019. All rights reserved.