org.opentripplanner.graph_builder.issues.NoFutureDates Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.graph_builder.issues;
import org.opentripplanner.graph_builder.DataImportIssue;
public class NoFutureDates implements DataImportIssue {
public static final String FMT = "Agency %s has no calendar dates which are after today; " +
"no trips will be plannable on this agency";
final String agency;
public NoFutureDates(String agency){
this.agency = agency;
}
@Override
public String getMessage() {
return String.format(FMT, agency);
}
}