
org.opentripplanner.model.calendar.CalendarService Maven / Gradle / Ivy
package org.opentripplanner.model.calendar;
import java.time.LocalDate;
import java.util.Set;
import org.opentripplanner.transit.model.framework.FeedScopedId;
import org.opentripplanner.transit.model.organization.Agency;
public interface CalendarService {
/**
* @return the set of all service ids used in the data set
*/
Set getServiceIds();
/**
* @param serviceId the target service id
* @return the set of all service dates for which the specified service id is active
*/
Set getServiceDatesForServiceId(FeedScopedId serviceId);
/**
* Determine the set of service ids that are active on the specified service date.
*
* @param date the target service date
* @return the set of service ids that are active on the specified service date
*/
Set getServiceIdsOnDate(LocalDate date);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy