org.onebusaway.gtfs.model.calendar
Class CalendarServiceData
java.lang.Object
org.onebusaway.gtfs.model.calendar.CalendarServiceData
- All Implemented Interfaces:
- Serializable
public class CalendarServiceData
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalendarServiceData
public CalendarServiceData()
getTimeZoneForAgencyId
public TimeZone getTimeZoneForAgencyId(String agencyId)
- Parameters:
agencyId -
- Returns:
- the time zone for the specified agencyId, or null if the agency was
not found
putTimeZoneForAgencyId
public void putTimeZoneForAgencyId(String agencyId,
TimeZone timeZone)
getServiceIds
public Set<AgencyAndId> getServiceIds()
getServiceDatesForServiceId
public List<ServiceDate> getServiceDatesForServiceId(AgencyAndId serviceId)
getServiceIdsForDate
public Set<AgencyAndId> getServiceIdsForDate(ServiceDate date)
putServiceDatesForServiceId
public void putServiceDatesForServiceId(AgencyAndId serviceId,
List<ServiceDate> serviceDates)
getDatesForLocalizedServiceId
public List<Date> getDatesForLocalizedServiceId(LocalizedServiceId serviceId)
putDatesForLocalizedServiceId
public void putDatesForLocalizedServiceId(LocalizedServiceId serviceId,
List<Date> dates)
Copyright © 2011 OneBusAway. All Rights Reserved.