protected function getDateFormat($parameters)
    {
        $comparisonDirection = isset($parameters[1]) ? $parameters[1] : null;

        if (empty($comparisonDirection)) {
            throw new ComparisonDirectionIsRequired('Comparison field is missing');
        }

        return $comparisonDirection;
    }