forecaster.getTSLagMaker().setAddQuarterOfYear(true);
forecaster.buildForecaster(wine);
forecaster.primeForecaster(wine);
// training data
List<List<NumericPrediction>> forecast = forecaster.forecast(presize);
Date startdate=fmt.parse(maxThedate);
String[] numfieldsarr=numberfield.toString().split(",");
for (int i = 0; i < presize; i++) {
List<NumericPrediction> predsAtStep = forecast.get(i);