def cdate_range(start=None, end=None, periods=None, freq='<STR_LIT:C>', tz=None,<EOL>normalize=True, name=None, closed=None, **kwargs):
warnings.warn("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>.format(freq=freq), FutureWarning, stacklevel=<NUM_LIT:2>)<EOL>if freq == '<STR_LIT:C>':<EOL><INDENT>holidays = kwargs.pop('<STR_LIT>', [])<EOL>weekmask = kwargs.pop('<STR_LIT>', '<STR_LIT>')<EOL>freq = CDay(holidays=holidays, weekmask=weekmask)<EOL><DEDENT>return date_range(start=start, end=end, periods=periods, freq=freq,<EOL>tz=tz, normalize=normalize, name=name,<EOL>closed=closed, **kwargs)<EOL>
Return a fixed frequency DatetimeIndex, with CustomBusinessDay as the
default frequency

.. deprecated:: 0.21.0

Parameters
----------
start : string or datetime-like, default None
    Left bound for generating dates
end : string or datetime-like, default None
    Right bound for generating dates
periods : integer, default None
    Number of periods to generate
freq : string or DateOffset, default 'C' (CustomBusinessDay)
    Frequency strings can have multiples, e.g. '5H'
tz : string, default None
    Time zone name for returning localized DatetimeIndex, for example
    Asia/Beijing
normalize : bool, default False
    Normalize start/end dates to midnight before generating date range
name : string, default None
    Name of the resulting DatetimeIndex
weekmask : string, Default 'Mon Tue Wed Thu Fri'
    weekmask of valid business days, passed to ``numpy.busdaycalendar``
holidays : list
    list/array of dates to exclude from the set of valid business days,
    passed to ``numpy.busdaycalendar``
closed : string, default None
    Make the interval closed with respect to the given frequency to
    the 'left', 'right', or both sides (None)

Notes
-----
Of the three parameters: ``start``, ``end``, and ``periods``, exactly two
must be specified.

To learn more about the frequency strings, please see `this link
<http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases>`__.

Returns
-------
rng : DatetimeIndex