changeset 5330:4ccf1175be1c

Cosemtics, doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 18 Mar 2013 16:49:04 +0100
parents 029b5f5f1dcc
children 95af0f3aabfb
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/AtFileParser.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }

http://dive4elements.wald.intevation.org