[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a2_Accounting Account.cs,1.7,1.8
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2004-12-05 02:42:54
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19260/QuantProject/b4_Business/a1_Financial/a2_Accounting Modified Files: Account.cs Log Message: AddCash( ExtendedDateTime extendedDateTime , double moneyAmount ) has been replaced by AddCash( EndOfDayDateTime endOfDayDateTime , double moneyAmount ) Index: Account.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a2_Accounting/Account.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Account.cs 29 Nov 2004 15:22:31 -0000 1.7 --- Account.cs 5 Dec 2004 02:42:45 -0000 1.8 *************** *** 148,157 **** this.Portfolio.Clear(); } ! public void AddCash( ExtendedDateTime extendedDateTime , double moneyAmount ) { try { ! TimedTransaction timedTransaction = ! new TimedTransaction( TransactionType.AddCash , moneyAmount , extendedDateTime ); this.Add( timedTransaction ); //Transactions.MultiAdd( extendedDateTime.DateTime , timedTransaction ); --- 148,157 ---- this.Portfolio.Clear(); } ! public void AddCash( EndOfDayDateTime endOfDayDateTime , double moneyAmount ) { try { ! EndOfDayTransaction timedTransaction = ! new EndOfDayTransaction( TransactionType.AddCash , moneyAmount , endOfDayDateTime ); this.Add( timedTransaction ); //Transactions.MultiAdd( extendedDateTime.DateTime , timedTransaction ); *************** *** 167,171 **** public void AddCash( double moneyAmount ) { ! this.AddCash( this.endOfDayTimer.GetCurrentTime().GetNearestExtendedDateTime() , moneyAmount ); } --- 167,171 ---- public void AddCash( double moneyAmount ) { ! this.AddCash( this.endOfDayTimer.GetCurrentTime() , moneyAmount ); } |