org.onebusaway.transit_data_federation.services.realtime
Class ArrivalAndDepartureTime

java.lang.Object
  extended by org.onebusaway.transit_data_federation.services.realtime.ArrivalAndDepartureTime

public class ArrivalAndDepartureTime
extends Object


Constructor Summary
ArrivalAndDepartureTime(long arrivalTime, long departureTime)
           
 
Method Summary
 long getArrivalTime()
           
 long getDepartureTime()
           
static ArrivalAndDepartureTime getScheduledTime(BlockInstance blockInstance, BlockStopTimeEntry blockStopTime)
           
static ArrivalAndDepartureTime getScheduledTime(BlockInstance blockInstance, BlockStopTimeEntry blockStopTime, int offset)
           
 void setArrivalTime(long arrivalTime)
           
 void setDepartureTime(long departureTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrivalAndDepartureTime

public ArrivalAndDepartureTime(long arrivalTime,
                               long departureTime)
Method Detail

getArrivalTime

public long getArrivalTime()

setArrivalTime

public void setArrivalTime(long arrivalTime)

getDepartureTime

public long getDepartureTime()

setDepartureTime

public void setDepartureTime(long departureTime)

getScheduledTime

public static ArrivalAndDepartureTime getScheduledTime(BlockInstance blockInstance,
                                                       BlockStopTimeEntry blockStopTime)

getScheduledTime

public static ArrivalAndDepartureTime getScheduledTime(BlockInstance blockInstance,
                                                       BlockStopTimeEntry blockStopTime,
                                                       int offset)


Copyright © 2011 OneBusAway. All Rights Reserved.