org.onebusaway.gtfs.model.calendar
Class CalendarServiceData

java.lang.Object
  extended by org.onebusaway.gtfs.model.calendar.CalendarServiceData
All Implemented Interfaces:
Serializable

public class CalendarServiceData
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CalendarServiceData()
           
 
Method Summary
 List<Date> getDatesForLocalizedServiceId(LocalizedServiceId serviceId)
           
 List<ServiceDate> getServiceDatesForServiceId(AgencyAndId serviceId)
           
 Set<AgencyAndId> getServiceIds()
           
 Set<AgencyAndId> getServiceIdsForDate(ServiceDate date)
           
 TimeZone getTimeZoneForAgencyId(String agencyId)
           
 void putDatesForLocalizedServiceId(LocalizedServiceId serviceId, List<Date> dates)
           
 void putServiceDatesForServiceId(AgencyAndId serviceId, List<ServiceDate> serviceDates)
           
 void putTimeZoneForAgencyId(String agencyId, TimeZone timeZone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarServiceData

public CalendarServiceData()
Method Detail

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.