
org.opentripplanner.graph_builder.issues.NegativeHopTime Maven / Gradle / Ivy
The newest version!
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.issue.api.DataImportIssue;
import org.opentripplanner.model.StopTime;
public record NegativeHopTime(StopTime st0, StopTime st1) implements DataImportIssue {
private static final String FMT =
"Negative time hop between %s and %s; skipping the entire trip. " +
"This might be caused by the use of 00:xx instead of 24:xx for stoptimes after midnight.";
@Override
public String getMessage() {
return String.format(FMT, st0, st1);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy