changeset 6288:f40d236098c1

Doc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 12 Jun 2013 11:27:36 +0200
parents 8d9e9b1ded7d
children cc11780b3491
files backend/src/main/java/org/dive4elements/river/importer/parsers/LineParser.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();

http://dive4elements.wald.intevation.org