[Quantproject-developers] QuantProject/b4_Business/a05_Timing HistoricalEndOfDayTimer.cs, 1.8, 1.9
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-02-07 18:43:39
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32510/b4_Business/a05_Timing Modified Files: HistoricalEndOfDayTimer.cs Log Message: Some code has been slightly changed because now EndOfDayDateTime is a struct (it was a class, before) Index: HistoricalEndOfDayTimer.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing/HistoricalEndOfDayTimer.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** HistoricalEndOfDayTimer.cs 19 Jan 2008 19:02:18 -0000 1.8 --- HistoricalEndOfDayTimer.cs 7 Feb 2008 18:43:35 -0000 1.9 *************** *** 110,114 **** public EndOfDayDateTime GetCurrentTime() { ! if ( this.currentTime == null ) throw new Exception( "Start() has not been invoked yet!" + "GetCurrentTime() cannot be invoked before Start()" ); --- 110,114 ---- public EndOfDayDateTime GetCurrentTime() { ! if ( !this.isActive ) throw new Exception( "Start() has not been invoked yet!" + "GetCurrentTime() cannot be invoked before Start()" ); |