Home > freetb4matlab > time > isbusday.m

isbusday

PURPOSE ^

%

SYNOPSIS ^

function mask = isbusday (rd, hol=[], wkend=[])

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {r =} isbusday (refdate)
% @deftypefnx {Function File} {r =} isbusday (refdate, holiday)
% @deftypefnx {Function File} {r =} isbusday (refdate, holiday, weekend)
%
% Return true if the @var{refdate} is a business date @var{refdate}.
% @var{holiday} is a vector of datenums that defines the holidays
% observed (the holidays function is used if not given). @var{weekend}
% defines the days of the week that should be considered weekends;
% [1 0 0 0 0 0 1] (default) indicates that Sunday and Saturday are
% weekends.
%
% @seealso{holidays, lbusdate, busdate, fbusdate}
% @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