Double input = getInput(taskList);
if (currentPlanProvider != null
&& getBoolSetting(
EVMetadata.Forecast.Ranges.USE_CURRENT_PLAN, true)) {
ConfidenceInterval currentInterval = checkInterval(
currentPlanProvider.getConfidenceInterval(taskList), input);
if (currentInterval != null)
return currentInterval;
}
if (histDataProvider != null
&& getBoolSetting(
EVMetadata.Forecast.Ranges.USE_HIST_DATA, false)) {
ConfidenceInterval histInterval = checkInterval(
histDataProvider.getConfidenceInterval(taskList), input);
if (histInterval != null)
return histInterval;
}