org.onebusaway.gtfs.impl.calendar
Class CalendarServiceDataFactoryImpl

java.lang.Object
  extended by org.onebusaway.gtfs.impl.calendar.CalendarServiceDataFactoryImpl
All Implemented Interfaces:
CalendarServiceDataFactory

public class CalendarServiceDataFactoryImpl
extends java.lang.Object
implements CalendarServiceDataFactory

We perform initial date calculations in the timezone of the host jvm, which may be different than the timezone of an agency with the specified service id. To my knowledge, the calculation should work the same, which is to say I can't immediately think of any cases where the service dates would be computed incorrectly.

Author:
bdferris

Constructor Summary
CalendarServiceDataFactoryImpl()
           
CalendarServiceDataFactoryImpl(GtfsRelationalDao dao)
           
 
Method Summary
 CalendarServiceData createData()
           
 void setGtfsDao(GtfsRelationalDao dao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarServiceDataFactoryImpl

public CalendarServiceDataFactoryImpl()

CalendarServiceDataFactoryImpl

public CalendarServiceDataFactoryImpl(GtfsRelationalDao dao)
Method Detail

setGtfsDao

public void setGtfsDao(GtfsRelationalDao dao)

createData

public CalendarServiceData createData()
Specified by:
createData in interface CalendarServiceDataFactory


Copyright © 2010 OneBusAway. All Rights Reserved.