#202 closed defect (fixed)
error with timesets
Reported by: | hamoros | Owned by: | danirus |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | TimeSetAlgebra | Version: | 1.1.2 |
Severity: | major | Keywords: | |
Cc: |
Description
When compiling this two timesets, the second one produces an error while the
first is correct.
Date d1 = y2005m01d01;
Date d2 = y2005m12d31;
this does not produce errors
TimeSet tms01 = (Succ(D(30)*M(8),-1,WD(5))) +
(D(17)*M(1) * (C-Y(1999)-Y(1998)-Y(2002)-Y(2003)-Y(2004)) +
Day(y1999m04d06) + Day(y1998m04d14) + Day(y2002m04d02) +
Day(y2003m04d22) + Day(y2004m04d13));
Serie ser01 = SubSer(CalInd(tms01, tms01), d1, d2);
this one produces errors when trying to view or tabulate the result serie
TimeSet tms02 = (D(11)*M(2) + Day(y2001m03d05)) +
(Succ(D(1)*M(6),1,WD(1)) * (C-Y(2003)) + Day(y2003m06d09));
Serie ser02 = SubSer(CalInd(tms02, tms02), d1, d2);
another one
TimeSet tms03 = (D(11)*M(2) + Day(y2001m03d05)) +
(Range(D(2)*M(6), 0, 6)*WD(1) * (C-Y(2003)) +
Day(y2003m06d09));
Serie ser03 = SubSer(CalInd(tms03, tms03), d1, d2);
Change History (3)
comment:1 Changed 19 years ago by
Status: | new → assigned |
---|
comment:2 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000100 |
---|
Bug has been fixed.
More information in
http://cvs.tol-project.org/viewcvs.cgi/toldoc/Time/TD-diseño.pdf