Class CalendarSimplicationLibrary
- java.lang.Object
-
- org.onebusaway.gtfs_transformer.updates.CalendarSimplicationLibrary
-
public class CalendarSimplicationLibrary extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCalendarSimplicationLibrary.ServiceCalendarSummary
-
Constructor Summary
Constructors Constructor Description CalendarSimplicationLibrary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeSimplifiedCalendar(AgencyAndId updatedServiceId, CalendarSimplicationLibrary.ServiceCalendarSummary summary, List<Object> newEntities)doublegetDayOfTheWeekInclusionRatio()intgetMinNumberOfWeeksForCalendarEntry()CalendarSimplicationLibrary.ServiceCalendarSummarygetSummaryForServiceDates(Set<ServiceDate> allServiceDates)Map<Set<AgencyAndId>,List<org.onebusaway.gtfs_transformer.updates.TripKey>>groupTripKeysByServiceIds(Map<org.onebusaway.gtfs_transformer.updates.TripKey,List<Trip>> tripsByKey)voidsetDayOfTheWeekInclusionRatio(double dayOfTheWeekInclusionRatio)voidsetMinNumberOfWeeksForCalendarEntry(int minNumberOfWeeksForCalendarEntry)
-
-
-
Method Detail
-
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)
-
-