Removed calls/references to @dynDate (replaces by @dates).
parent
faf216d9d5
commit
16194cedd9
|
@ -10,7 +10,7 @@ function ts = dseries(varargin) % --*-- Unitary tests --*--
|
||||||
%! @sp 2
|
%! @sp 2
|
||||||
%! If @code{nargin==0} then an empty dseries object is created. The object can be populated with data subsequently using the overloaded subsref method.
|
%! If @code{nargin==0} then an empty dseries object is created. The object can be populated with data subsequently using the overloaded subsref method.
|
||||||
%! @sp 2
|
%! @sp 2
|
||||||
%! If @code{nargin==1} and if the input argument is a @ref{dynDate} object, then a dseries object without data is created. This object can be populated with the overload subsref method.
|
%! If @code{nargin==1} and if the input argument is a @ref{dates} object, then a dseries object without data is created. This object can be populated with the overload subsref method.
|
||||||
%! @sp 2
|
%! @sp 2
|
||||||
%! If @code{nargin==1} and if the input argument is a string for the name of a csv, m or mat file containing data, then a dseries object is created from these data.
|
%! If @code{nargin==1} and if the input argument is a string for the name of a csv, m or mat file containing data, then a dseries object is created from these data.
|
||||||
%! @sp 2
|
%! @sp 2
|
||||||
|
@ -54,7 +54,7 @@ function ts = dseries(varargin) % --*-- Unitary tests --*--
|
||||||
%! frequency is unspecified. @var{freq} is equal to 4 if data are on a quaterly basis. @var{freq} is equal to
|
%! frequency is unspecified. @var{freq} is equal to 4 if data are on a quaterly basis. @var{freq} is equal to
|
||||||
%! 12 if data are on a monthly basis. @var{freq} is equal to 52 if data are on a weekly basis.
|
%! 12 if data are on a monthly basis. @var{freq} is equal to 52 if data are on a weekly basis.
|
||||||
%! @item init
|
%! @item init
|
||||||
%! @ref{dynDate} object, initial date of the dataset.
|
%! @ref{dates} object, initial date of the dataset.
|
||||||
%! @end table
|
%! @end table
|
||||||
%! @end deftypefn
|
%! @end deftypefn
|
||||||
%@eod:
|
%@eod:
|
||||||
|
|
|
@ -483,14 +483,14 @@ if options_.loglinear && ~options_.logdata
|
||||||
end
|
end
|
||||||
|
|
||||||
% Test if an initial period (different from its default value) is explicitely defined in the datafile.
|
% Test if an initial period (different from its default value) is explicitely defined in the datafile.
|
||||||
if isequal(dataset.init, dynDate(1))
|
if isequal(dataset.init, dates(1))
|
||||||
dataset_default_initial_period = 1;
|
dataset_default_initial_period = 1;
|
||||||
else
|
else
|
||||||
dataset_default_initial_period = 0;
|
dataset_default_initial_period = 0;
|
||||||
end
|
end
|
||||||
|
|
||||||
% Test if an initial period (different from its default value) is explicitely defined in the mod file with the set_time command.
|
% Test if an initial period (different from its default value) is explicitely defined in the mod file with the set_time command.
|
||||||
if isequal(options_.initial_period, dynDate(1))
|
if isequal(options_.initial_period, dates(1))
|
||||||
set_time_default_initial_period = 1;
|
set_time_default_initial_period = 1;
|
||||||
else
|
else
|
||||||
set_time_default_initial_period = 0;
|
set_time_default_initial_period = 0;
|
||||||
|
|
Loading…
Reference in New Issue