Generate a random date between ``start`` to ``end``.

    :param start: Left bound
    :type start: string or datetime.date, (default date(1970, 1, 1))
    :param end: Right bound
    :type end: string or datetime.date, (default date.today())
    :return: a datetime.date object

    **中文文档**

    随机生成一个位于 ``start`` 和 ``end`` 之间的日期。

def rnd_date(start=date(1970, 1, 1), end=None, **kwargs):
    """
    Generate a random date between ``start`` to ``end``.

    :param start: Left bound
    :type start: string or datetime.date, (default date(1970, 1, 1))
    :param end: Right bound
    :type end: string or datetime.date, (default date.today())
    :return: a datetime.date object

    **中文文档**

    随机生成一个位于 ``start`` 和 ``end`` 之间的日期。
    """
    if end is None:
        end = date.today()
    start = parser.parse_date(start)
    end = parser.parse_date(end)
    _assert_correct_start_end(start, end)
    return _rnd_date(start, end)