Interface ServiceCalendarProducer

All Known Implementing Classes:
DefaultServiceCalendarProducer

public interface ServiceCalendarProducer
Produce a GTFS Service Calendar.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.onebusaway.gtfs.model.ServiceCalendar
    produce(String serviceId, org.onebusaway.gtfs.model.calendar.ServiceDate startDate, org.onebusaway.gtfs.model.calendar.ServiceDate endDate, Collection<DayOfWeek> daysOfWeeks)
    Produce a GTFS Service Calendar for a given GTFS service.
  • Field Details

  • Method Details

    • produce

      org.onebusaway.gtfs.model.ServiceCalendar produce(String serviceId, org.onebusaway.gtfs.model.calendar.ServiceDate startDate, org.onebusaway.gtfs.model.calendar.ServiceDate endDate, Collection<DayOfWeek> daysOfWeeks)
      Produce a GTFS Service Calendar for a given GTFS service.
      Parameters:
      serviceId - the id of the GTFS service.
      startDate - the start date of the calendar period.
      endDate - the end date of the calendar period.
      daysOfWeeks - the days of week on which the service runs. If empty the service runs every day of the week.
      Returns:
      the GTFS service calendar for this GTFS service.