public static enum RouteOptions.TimeType extends java.lang.Enum<RouteOptions.TimeType>
Enum Constant and Description |
---|
ARRIVAL
Arrival time.
|
DEPARTURE
Departure time.
|
Modifier and Type | Method and Description |
---|---|
static RouteOptions.TimeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouteOptions.TimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteOptions.TimeType DEPARTURE
public static final RouteOptions.TimeType ARRIVAL
RouteOptions.setTime(Date, TimeType)
will result in an
IllegalArgumentException
to be thrown.public static RouteOptions.TimeType[] values()
for (RouteOptions.TimeType c : RouteOptions.TimeType.values()) System.out.println(c);
public static RouteOptions.TimeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null