All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.graph_builder.issues.NoFutureDates Maven / Gradle / Ivy

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy