org.onebusaway.gtfs.impl.calendar
Class CalendarServiceDataFactoryImpl
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalendarServiceDataFactoryImpl
public CalendarServiceDataFactoryImpl()
CalendarServiceDataFactoryImpl
public CalendarServiceDataFactoryImpl(GtfsRelationalDao dao)
setGtfsDao
public void setGtfsDao(GtfsRelationalDao dao)
setExcludeFutureServiceDatesInDays
public void setExcludeFutureServiceDatesInDays(int excludeFutureServiceDatesInDays)
createData
public CalendarServiceData createData()
- Specified by:
createData in interface CalendarServiceDataFactory
Copyright © 2011 OneBusAway. All Rights Reserved.