public static enum TimeInstant.TimeMode extends Enum<TimeInstant.TimeMode>
| Modifier and Type | Method and Description |
|---|---|
static TimeInstant.TimeMode |
getByIndex(int index) |
static TimeInstant.TimeMode |
getByName(String name) |
int |
getIndex() |
static TimeInstant.TimeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeInstant.TimeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeInstant.TimeMode NOW
public static final TimeInstant.TimeMode BEGIN
public static final TimeInstant.TimeMode END
public static TimeInstant.TimeMode[] values()
for (TimeInstant.TimeMode c : TimeInstant.TimeMode.values()) System.out.println(c);
public static TimeInstant.TimeMode 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 getIndex()
public static TimeInstant.TimeMode getByName(String name)
public static TimeInstant.TimeMode getByIndex(int index)
Copyright © 2017–2020 JBoss by Red Hat. All rights reserved.