Mercurial > dive4elements > river
changeset 7560:56480f609a34
issue1542: WQInfoObjectImpl: Changed implementation from String to Date.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 12 Nov 2013 17:14:52 +0100 |
parents | 4a3f1599c0bb |
children | 368d419ae4d1 |
files | gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java Tue Nov 12 17:14:24 2013 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/WQInfoObjectImpl.java Tue Nov 12 17:14:52 2013 +0100 @@ -8,6 +8,7 @@ package org.dive4elements.river.client.shared.model; +import java.util.Date; /** * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> @@ -20,9 +21,9 @@ protected Double value; - protected String startTime; + Date startTime; - protected String stopTime; + Date stopTime; protected boolean isOfficial; @@ -36,8 +37,8 @@ String type, Double value, boolean isOfficial, - String startTime, - String stopTime + Date startTime, + Date stopTime ) { this.name = name; this.type = type; @@ -49,12 +50,12 @@ @Override - public String getStopTime() { + public Date getStopTime() { return stopTime; } @Override - public String getStartTime() { + public Date getStartTime() { return startTime; }