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

New calcultion in MINFO: Bed height difference calculation. flys-artifacts/trunk@5538 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 20 Sep 2012 09:34:48 +0000
parents 633fbb61a0cc
children bce2dd4310a6
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,
        double gap,
        double width,
        Date start,
        Date end
    ) {
        super.add(value, station, gap, width);
        this.start = start;
        this.end = end;
    }

    public Date getStart() {
        return start;
    }

    public Date getEnd() {
        return end;
    }
}

http://dive4elements.wald.intevation.org