comparison flys-artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightEpoch.java @ 5831:bd047b71ab37

Repaired internal references
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:06:39 +0200
parents flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightEpoch.java@bce2dd4310a6
children
comparison
equal deleted inserted replaced
5830:160f53ee0870 5831:bd047b71ab37
1 package org.dive4elements.river.artifacts.model.minfo;
2
3 import java.util.Date;
4
5
6 public class BedHeightEpoch
7 extends BedHeight
8 {
9
10 protected Date start;
11 protected Date end;
12
13 public BedHeightEpoch() {
14 this.start = new Date();
15 this.end = new Date();
16 }
17
18 public BedHeightEpoch(String name) {
19 super(name);
20 this.start = new Date();
21 this.end = new Date();
22 }
23
24 public void add(
25 double value,
26 double station,
27 Date start,
28 Date end
29 ) {
30 super.add(value, station);
31 this.start = start;
32 this.end = end;
33 }
34
35 public Date getStart() {
36 return start;
37 }
38
39 public Date getEnd() {
40 return end;
41 }
42 }

http://dive4elements.wald.intevation.org