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;
}
Aggregations