Home > freetb4matlab > time > busdays.m

busdays

PURPOSE ^

% Generate a list of business dates at the end of the periods defined

SYNOPSIS ^

function bd = busdays (sd, ed, mode=1, hol=[])

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{bdates} =} busdays (@var{sdate}, @var{edate})
% @deftypefn {Function File} {@var{bdates} =} busdays (@var{sdate}, @var{edate}, @var{bdmode})
% @deftypefn {Function File} {@var{bdates} =} busdays (@var{sdate}, @var{edate}, @var{bdmode}, @var{holvec})
% Generate a list of business dates at the end of the periods defined
% between (including) @var{sdate} and @var{edate}.
%
% @var{sdate} is the starting date, @var{edate} is the ending date,
% both are in serial date format (see datenum).  @var{bdmode} is the
% business day frequency ('daily', 'weekly', 'monthly', 'quarterly',
% 'semiannual', or 'annual'); these can be abbreviated by the first
% letter and they may also use an integer corresponding to the order in
% the above list (i.e. 'daily' = 1).  @var{holvec} is an optional list
% of holidays.  If the holidays are not given, then the holidays
% function is used.
% @seealso{holidays, busdate, lbusdate, isbusday, fbusdate, datenum}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003