Update of /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17179/b4_Business/a05_Timing
Modified Files:
IndexBasedEndOfDayTimer.cs
Log Message:
Added GetPreviousDateTime method
Index: IndexBasedEndOfDayTimer.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a05_Timing/IndexBasedEndOfDayTimer.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** IndexBasedEndOfDayTimer.cs 6 Mar 2005 21:37:17 -0000 1.5
--- IndexBasedEndOfDayTimer.cs 20 Dec 2005 19:35:53 -0000 1.6
***************
*** 84,88 ****
this.currentTime.EndOfDaySpecificTime = nextSpecificTime;
}
!
}
--- 84,94 ----
this.currentTime.EndOfDaySpecificTime = nextSpecificTime;
}
! /// <summary>
! /// Gets the previous index based date time
! /// </summary>
! public DateTime GetPreviousDateTime()
! {
! return this.indexQuotes.GetPrecedingDate(this.currentTime.DateTime,1);
! }
}
|