[Dive4elements-commits] [PATCH 03 of 12] Doc
Wald Commits
scm-commit at wald.intevation.org
Wed Jun 12 11:51:12 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1371029256 -7200
# Node ID f40d236098c1204474d06629f0c63f3ffffbebd1
# Parent 8d9e9b1ded7d1926da64f3b65fb6dbf6fbd2105f
Doc.
diff -r 8d9e9b1ded7d -r f40d236098c1 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