Removed calls/references to @dynDate (replaces by @dates).

time-shift
Stéphane Adjemian (Scylla) 2014-04-30 15:44:30 +02:00
parent faf216d9d5
commit 16194cedd9
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ function ts = dseries(varargin) % --*-- Unitary tests --*--
%! @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.
%! @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
%! 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
@ -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
%! 12 if data are on a monthly basis. @var{freq} is equal to 52 if data are on a weekly basis.
%! @item init
%! @ref{dynDate} object, initial date of the dataset.
%! @ref{dates} object, initial date of the dataset.
%! @end table
%! @end deftypefn
%@eod:

View File

@ -483,14 +483,14 @@ if options_.loglinear && ~options_.logdata
end
% 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;
else
dataset_default_initial_period = 0;
end
% 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;
else
set_time_default_initial_period = 0;