[Quantproject-developers] QuantProject/b4_Business/a2_Strategies/returnsManagement/time ReturnInte
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-01-19 19:10:40
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/returnsManagement/time In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19882/b4_Business/a2_Strategies/returnsManagement/time Modified Files: ReturnInterval.cs Log Message: Now begin and end are duplicated. In the previous version, they may have moved after the interval was built. I believe that would have been bad. MILLO, PLEASE TEST YOUR SCRIPTS with this new version. Index: ReturnInterval.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/returnsManagement/time/ReturnInterval.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ReturnInterval.cs 16 Sep 2007 21:40:02 -0000 1.1 --- ReturnInterval.cs 19 Jan 2008 19:10:37 -0000 1.2 *************** *** 56,61 **** { this.checkParameters( begin , end ); ! this.begin = begin; ! this.end = end; } private void checkParameters( EndOfDayDateTime begin , --- 56,61 ---- { this.checkParameters( begin , end ); ! this.begin = begin.Copy(); ! this.end = end.Copy(); } private void checkParameters( EndOfDayDateTime begin , |