[Dive4elements-commits] [PATCH 07 of 13] W80Parser: Added field to store a date
Wald Commits
scm-commit at wald.intevation.org
Fri Jan 4 11:12:46 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1357294312 -3600
# Node ID ab87408bb0d31f5e4216274c40ff8fd00d255ff7
# Parent 69bb2996ed194f3d82d9475b5d51564e54dd396e
W80Parser: Added field to store a date.
diff -r 69bb2996ed19 -r ab87408bb0d3 flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Fri Jan 04 11:11:24 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Fri Jan 04 11:11:52 2013 +0100
@@ -11,6 +11,8 @@
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
@@ -59,6 +61,10 @@
private Anchor anchor;
+ /** Measurement date of anchor as listed in w80 file. */
+ private Date anchorDate;
+
+
/** Trivial constructor. */
public W80Parser() {
data = new TreeMap<Double, List<XY>>(EpsilonComparator.CMP);
@@ -122,6 +128,7 @@
data.clear();
currentLine = new ArrayList<XY>();
anchor = null;
+ anchorDate = null;
}
More information about the Dive4elements-commits
mailing list