Home > freetb4matlab > time > nweekdate.m

nweekdate

PURPOSE ^

%

SYNOPSIS ^

function t = nweekdate (varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {last =} nweekdate (n, weekday, year, month, nextday)
%
% Returns the @var{n}th occurrence of @var{weekday} from the
% @var{month} and @var{year}.  If the optional @var{nextday} argument
% is given, then the week must also contain @var{nextday}.  If @var{n}
% is greater than the number of occurrences of that day in the month, 0
% is returned.
%
% @seealso{eomdate, lweekdate, weekday}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003