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

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

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

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

        return $comparisonDirection;
    }
protected function getDateFormat ( $ parameters ) { $ comparisonDirection = isset ( $ parameters [ 1 ] ) ? $ parameters [ 1 ] : null ; if ( empty ( $ comparisonDirection ) ) { throw new ComparisonDirectionIsRequired ( 'Comparison field is missing' ) ; } return $ comparisonDirection ; }
Get Date Format

@param $parameters
@return null
@throws ComparisonDirectionIsRequired
Get Date Format