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

def datetimes(self, field_name, kind, order='ASC', tzinfo=None):

    assert (kind in ('year', 'month', 'day', 'hour', 'minute', 'second')), "'kind'    must    be    one    of    'year',    'month',    'day',    'hour',    'minute'    or    'second'."
    assert (order in ('ASC', 'DESC')), "'order'    must    be    either    'ASC'    or    'DESC'."
    if settings.USE_TZ:
        if (tzinfo is None):
            tzinfo = timezone.get_current_timezone()
    else:
        tzinfo = None
    return self._clone(klass=DateTimeQuerySet, setup=True, _field_name=field_name, _kind=kind, _order=order, _tzinfo=tzinfo)
