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
-
-
Constructor Summary
Constructors Constructor Description CalendarServiceData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Date>getDatesForLocalizedServiceId(LocalizedServiceId serviceId)Set<LocalizedServiceId>getLocalizedServiceIds()List<ServiceDate>getServiceDatesForServiceId(AgencyAndId serviceId)Set<AgencyAndId>getServiceIds()Set<AgencyAndId>getServiceIdsForDate(ServiceDate date)TimeZonegetTimeZoneForAgencyId(String agencyId)voidmakeReadOnly()voidputDatesForLocalizedServiceId(LocalizedServiceId serviceId, List<Date> dates)voidputServiceDatesForServiceId(AgencyAndId serviceId, List<ServiceDate> serviceDates)voidputTimeZoneForAgencyId(String agencyId, TimeZone timeZone)
-
-
-
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
-
getServiceIds
public Set<AgencyAndId> getServiceIds()
-
getLocalizedServiceIds
public Set<LocalizedServiceId> getLocalizedServiceIds()
-
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)
-
makeReadOnly
public void makeReadOnly()
-
-