Skip to content

Commit

Permalink
Added JavaDoc to TripTimes
Browse files Browse the repository at this point in the history
  • Loading branch information
t2gran committed Nov 30, 2023
1 parent ebbe2fd commit 7d052cb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
import org.opentripplanner.model.BookingInfo;
import org.opentripplanner.transit.model.basic.Accessibility;

/**
* A TripTimes represents the arrival and departure times for a single trip in a timetable. It is
* one of the core class used for transit routing. This interface allow different kind of trip
* to implement their own trip times. Scheduled/planned trips should be immutable, real-time
* trip times should allow updates and more info, frequency-based trips can use a more compact
* implementation, and Flex may expose part of the trip as a "scheduled/regular" stop-to-stop
* trip using this interface. All times are expressed as seconds since midnight (as in
* GTFS).
*/
public interface TripTimes extends Serializable, Comparable<TripTimes> {
/**
* Copy scheduled times, but not the actual times.
Expand Down

0 comments on commit 7d052cb

Please sign in to comment.