public class TransitOptions extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
TransitOptions()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
Date |
getArrivalTime()
The desired arrival time for the route, specified as a Date object.
|
Date |
getDepartureTime()
The desired departure time for the route, specified as a Date object.
|
static TransitOptions |
newInstance()
Create new TransitOptions to be used within a DirectionRequest.
|
void |
setArrivalTime(Date time)
The desired arrival time for the route, specified as a Date object.
|
void |
setDepartureTime(Date time)
The desired departure time for the route, specified as a Date object.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final TransitOptions newInstance()
public final void setArrivalTime(Date time)
time
- public final Date getArrivalTime()
public final void setDepartureTime(Date time)
time
- public final Date getDepartureTime()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.