view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedHeightEpoch.java @ 3897:bce2dd4310a6

MINFO: Updated data fields to fit the needs of bedheight difference calculation. flys-artifacts/trunk@5560 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 21 Sep 2012 14:18:16 +0000
parents 633fbb61a0cc
children
line wrap: on
line source
package de.intevation.flys.artifacts.model.minfo;

import java.util.Date;


public class BedHeightEpoch
extends BedHeight
{

    protected Date start;
    protected Date end;

    public BedHeightEpoch() {
        this.start = new Date();
        this.end = new Date();
    }

    public BedHeightEpoch(String name) {
        super(name);
        this.start = new Date();
        this.end = new Date();
    }

    public void add(
        double value,
        double station,
        Date start,
        Date end
    ) {
        super.add(value, station);
        this.start = start;
        this.end = end;
    }

    public Date getStart() {
        return start;
    }

    public Date getEnd() {
        return end;
    }
}

http://dive4elements.wald.intevation.org