Home > freetb4matlab > time > yeardays.m

yeardays

PURPOSE ^

% Return the number of days in the year @var{y} with an optional basis

SYNOPSIS ^

function d = yeardays (y, basis)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{d} =} yeardays (@var{y})
% @deftypefnx {Function File} {@var{d} =} yeardays (@var{y}, @var{b})
% Return the number of days in the year @var{y} with an optional basis
% @var{b}.
%
% Valid bases
% @itemize @bullet
% @item 0
%   actual/actual (default)
% @item 1
%   30/360 (SIA)
% @item 2
%   actual/360
% @item 3
%   actual/365
% @item 4
%   30/360 (PSA)
% @item 5
%   30/360 (IDSA)
% @item 6
%   30/360 (European)
% @item 7
%   actual/365 (Japanese)
% @item 8
%   actual/actual (ISMA)
% @item 9
%   actual/360 (ISMA)
% @item 10
%   actual/365 (ISMA)
% @item 11
%   30/360E (ISMA)
% @end itemize
% @seealso{days365, days360, daysact, daysdif}
% @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