def set_parameter(self, name, value):
        """Sets a parameter for the BaseForecastingMethod.

        :param string name:    Name of the parameter.
        :param numeric value:    Value of the parameter.
        """
        # set the furecast until variable to None if necessary
        if name == "valuesToForecast":
            self._forecastUntil = None

        # continue with the parents implementation
        return super(BaseForecastingMethod, self).set_parameter(name, value)
Sets a parameter for the BaseForecastingMethod.

        :param string name:    Name of the parameter.
        :param numeric value:    Value of the parameter.