WeatherDailyValue.java [src/java/util] 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 util;
/**
*
* @author sidereus
*/
public class WeatherDailyValue {
int year;
double precip;
public WeatherDailyValue(String year, String precip) {
this.year = Integer.parseInt(year);
this.precip = Double.parseDouble(precip);
}
public Integer getYear() {
return year;
}
public double getPrecip() {
return precip;
}
}