Search in sources :

Example 1 with TimeIntervalList

use of net.parostroj.timetable.model.TimeIntervalList in project grafikon by jub77.

the class StationTimetablesExtractor method collectIntervals.

/**
 * collects intervals for given station.
 *
 * @param node station
 * @return list of intervals
 */
private List<TimeInterval> collectIntervals(Node node) {
    TimeIntervalList list = new TimeIntervalList();
    node.forEach(list::addIntervalByNormalizedStartTime);
    return list;
}
Also used : TimeIntervalList(net.parostroj.timetable.model.TimeIntervalList)

Aggregations

TimeIntervalList (net.parostroj.timetable.model.TimeIntervalList)1