com.conveyal.gtfs.error.DateParseError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gtfs-lib Show documentation
Show all versions of gtfs-lib Show documentation
A library to load and index GTFS feeds of arbitrary size using disk-backed storage
package com.conveyal.gtfs.error;
import java.io.Serializable;
/** Represents a problem parsing a date field from a GTFS feed. */
public class DateParseError extends GTFSError implements Serializable {
public static final long serialVersionUID = 1L;
public DateParseError(String file, long line, String field) {
super(file, line, field);
}
@Override public String getMessage() {
return "Could not parse date (format should be YYYYMMDD).";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy