def GenerateDateParamYql(params):
    '[Check consistency in date parameterGenerate the date yql parameters]\n    \n    Arguments:\n        params {[type]} -- [description]\n    \n    Returns:\n        [type] -- [description]\n    '
    yql = ''
    if ('fromDate' in params):
        if params['fromDate'].isdigit():
            yql += (' and published_date > ' + str(params['fromDate']))
    if ('toDate' in params):
        if params['toDate'].isdigit():
            yql += (' and published_date < ' + str(params['toDate']))
    if (('fromDate' in params) and ('toDate' in params)):
        if (params['fromDate'].isdigit() and params['toDate'].isdigit()):
            if (params['fromDate'] > params['toDate']):
                return ''
    return yql
[Check consistency in date parameterGenerate the date yql parameters]

Arguments:
    params {[type]} -- [description]

Returns:
    [type] -- [description]
def GenerateDateParamYql(params):
    '[Check consistency in date parameterGenerate the date yql parameters]\n    \n    Arguments:\n        params {[type]} -- [description]\n    \n    Returns:\n        [type] -- [description]\n    '
    yql = 
    if ('fromDate' in params):
        if params['fromDate'].isdigit():
            yql += (' and published_date > ' + str(params['fromDate']))
    if ('toDate' in params):
        if params['toDate'].isdigit():
            yql += (' and published_date < ' + str(params['toDate']))
    if (('fromDate' in params) and ('toDate' in params)):
        if (params['fromDate'].isdigit() and params['toDate'].isdigit()):
            if (params['fromDate'] > params['toDate']):
                return 
    return yql