[Dive4elements-commits] [PATCH 09 of 12] Doc

Wald Commits scm-commit at wald.intevation.org
Wed Jun 12 11:51:18 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1371029256 -7200
# Node ID 0647d7f5a275050d903bb5720ef25737796fee98
# Parent  69bc52b0219d123cbb7019ed1b952c4c186caf63
Doc.

diff -r 69bc52b0219d -r 0647d7f5a275 backend/src/main/java/org/dive4elements/river/importer/parsers/LineParser.java
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/LineParser.java	Wed Jun 12 11:20:36 2013 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/LineParser.java	Wed Jun 12 11:27:36 2013 +0200
@@ -27,7 +27,7 @@
 
 
 /**
- * Base-Class for prasers for line-based file formats.
+ * Base-Class for parsers for line-based file formats.
  * Calls reset(), then read line by line, calling handleLine() for each,
  * then calls finish().
  */
@@ -137,6 +137,7 @@
     }
 
 
+    /** Create Date on first moment (1st jan) of given year. */
     public static Date getStartDateFromYear(int year) {
         Calendar cal = Calendar.getInstance();
 	cal.clear();
@@ -145,6 +146,8 @@
         return cal.getTime();
     }
 
+
+    /** Create Date on las moment (31st dec) of given year. */
     public static Date getEndDateFromYear(int year) {
         Calendar cal = Calendar.getInstance();
 	cal.clear();


More information about the Dive4elements-commits mailing list