Harvest.java [src/java/m/dssat/utils] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package m.dssat.utils;
/**
*
* @author sidereus
*/
public class Harvest {
private final double yield;
private final int year;
private final int doy;
Harvest(double yield, int year, int doy) {
this.yield = yield;
this.year = year;
this.doy = doy;
}
public double getYield() {
return yield;
}
public int getYear() {
return year;
}
public int getDoy() {
return doy;
}
}