Mercurial > dive4elements > river
changeset 4761:ab87408bb0d3
W80Parser: Added field to store a date.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 04 Jan 2013 11:11:52 +0100 |
parents | 69bb2996ed19 |
children | c6654a19b00f |
files | flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }