public function calculate(Calculator $calculator, $inputValuesGrid)
    {
        $outputValuesGrid = [];
        foreach ($inputValuesGrid as $date => $inputValues) {
            $outputValuesGrid[$date] = $calculator->calculate($this, new \DateTime($date, $this->dataTimeZone), $inputValues);
        }
        return $outputValuesGrid;
    }
public function calculate(Calculator $calculator, $inputValuesGrid)
    {
        $outputValuesGrid = [];
        foreach ($inputValuesGrid as $date => $inputValues) {
            $outputValuesGrid[$date] = $calculator->calculate($this, new \DateTime($date, $this->dataTimeZone), $inputValues);
        }
        return $outputValuesGrid;
    }
public function calculate ( Calculator $ calculator , $ inputValuesGrid ) { $ outputValuesGrid = [ ] ; foreach ( $ inputValuesGrid as $ date => $ inputValues ) { $ outputValuesGrid [ $ date ] = $ calculator -> calculate ( $ this , new \ DateTime ( $ date , $ this -> dataTimeZone ) , $ inputValues ) ; } return $ outputValuesGrid ; }
Returns calculated params time grid.

@param Calculator $calculator
@param array $inputValuesGrid
@return array
Returns calculated params time grid .