Skip to content
Snippets Groups Projects
Commit 69ea8982 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Refactoring Result object

parent 0eff21ce
No related branches found
No related tags found
No related merge requests found
Pipeline #177 failed
...@@ -92,7 +92,7 @@ public class NegativePrognosisModel extends I18nImpl implements Model{ ...@@ -92,7 +92,7 @@ public class NegativePrognosisModel extends I18nImpl implements Model{
while(currentDate.compareTo(lastDate) <= 0) while(currentDate.compareTo(lastDate) <= 0)
{ {
Result result = new ResultImpl(); Result result = new ResultImpl();
result.setResultValidTime(currentDate); result.setValidTimeStart(currentDate);
// Set model params // Set model params
result.setValue(this.getModelId().toString(), DataMatrix.DAILY_CONTRIB_A, this.dataMatrix.getDefaultFormattedValueForDate(currentDate, DataMatrix.DAILY_CONTRIB_A)); result.setValue(this.getModelId().toString(), DataMatrix.DAILY_CONTRIB_A, this.dataMatrix.getDefaultFormattedValueForDate(currentDate, DataMatrix.DAILY_CONTRIB_A));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment