function c = lt(a,b) %@info: %! @deftypefn {Function File} {@var{c} =} lt (@var{a},@var{b}) %! @anchor{@dynDate/lt} %! @sp 1 %! Overloads the lt (less than) operator for the Dynare dates class (@ref{dynDate}). %! @sp 2 %! @strong{Inputs} %! @sp 1 %! @table @ @var %! @item a %! Dynare date object instantiated by @ref{dynDate}. %! @item b %! Dynare date object instantiated by @ref{dynDate}. %! @end table %! @sp 1 %! @strong{Outputs} %! @sp 1 %! @table @ @var %! @item c %! scalar integer equal to one if a. if nargin~=2 error('dynDate::eq: I need exactly two input arguments!') end if ~( isa(a,'dynDate') && isa(b,'dynDate')) error(['dynDate::lt: Input arguments ' inputname(1) ' and ' inputname(2) ' have to be a dynDate objects!']) end if ~isequal(a.freq,b.freq) error(['dynDate::lq: Input arguments ' inputname(1) ' and ' inputname(2) ' have no common frequencies!']) end if a.time(1)