Class CalendarSimplicationLibrary

java.lang.Object
org.onebusaway.gtfs_transformer.updates.CalendarSimplicationLibrary

public class CalendarSimplicationLibrary extends Object
  • Constructor Details

    • CalendarSimplicationLibrary

      public CalendarSimplicationLibrary()
  • Method Details

    • setMinNumberOfWeeksForCalendarEntry

      public void setMinNumberOfWeeksForCalendarEntry(int minNumberOfWeeksForCalendarEntry)
    • getMinNumberOfWeeksForCalendarEntry

      public int getMinNumberOfWeeksForCalendarEntry()
    • setDayOfTheWeekInclusionRatio

      public void setDayOfTheWeekInclusionRatio(double dayOfTheWeekInclusionRatio)
    • getDayOfTheWeekInclusionRatio

      public double getDayOfTheWeekInclusionRatio()
    • groupTripKeysByServiceIds

      public Map<Set<AgencyAndId>,List<org.onebusaway.gtfs_transformer.updates.TripKey>> groupTripKeysByServiceIds(Map<org.onebusaway.gtfs_transformer.updates.TripKey,List<Trip>> tripsByKey)
    • computeSimplifiedCalendar

      public void computeSimplifiedCalendar(AgencyAndId updatedServiceId, CalendarSimplicationLibrary.ServiceCalendarSummary summary, List<Object> newEntities)
    • getSummaryForServiceDates

      public CalendarSimplicationLibrary.ServiceCalendarSummary getSummaryForServiceDates(Set<ServiceDate> allServiceDates)