'Returns a list of datetime objects representing all available dates for
the given field_name, scoped to \'kind\'.'

def dates(self, field_name, kind, order='ASC'):

    assert (kind in ('month', 'year', 'day')), "'kind'    must    be    one    of    'year',    'month'    or    'day'."
    assert (order in ('ASC', 'DESC')), "'order'    must    be    either    'ASC'    or    'DESC'."
    return self._clone(klass=DateQuerySet, setup=True, _field_name=field_name, _kind=kind, _order=order)
