[Dive4elements-commits] [PATCH 1 of 5] Cosemtics, doc
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 19 10:18:23 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1363621744 -3600
# Node ID 4ccf1175be1cb19c7910b95c7df7636181eef700
# Parent 029b5f5f1dccd32d4d10cfdb440dd8a1f02c0a2e
Cosemtics, doc.
diff -r 029b5f5f1dcc -r 4ccf1175be1c flys-backend/src/main/java/de/intevation/flys/importer/parsers/AtFileParser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/AtFileParser.java Fri Mar 15 19:50:53 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/AtFileParser.java Mon Mar 18 16:49:04 2013 +0100
@@ -20,13 +20,13 @@
import de.intevation.flys.importer.ImportTimeInterval;
+/** Parse *.at (Abflusstafeln?) files. */
public class AtFileParser {
public static final String ENCODING = "ISO-8859-1";
private static Logger logger = Logger.getLogger(AtFileParser.class);
-
// regular expression from hell to find out time range
public static final Pattern DATE_LINE = Pattern.compile(
"^\\*\\s*Abflu[^t]+tafel?\\s*([^\\d]+)" +
@@ -155,6 +155,7 @@
}
public static Date guessDate(String day, String month, String year) {
+ // TODO evaluate whether DateGuesser class can do that.
if (day == null && month == null && year == null) {
return null;
}
More information about the Dive4elements-commits
mailing list