BulletinC17WYResult.java [src/java/m/cfa/flood] Revision:   Date:
package m.cfa.flood;

/**
 *
 * @author Lucas Yaege
 */
import com.google.gson.Gson;

public class BulletinC17WYResult {

    public int waterYear = Integer.MIN_VALUE;
    public double probability = Double.NaN;
    public double zScore = Double.NaN;
    public double lowDischargeEstimate = Double.NaN;
    public double highDischargeEstimate = Double.NaN;
    public double fittedDischarge = Double.NaN;

    public String toJson() {
        Gson gson = new Gson();
        return gson.toJson( this );
    }
}