Update of /cvsroot/quantproject/QuantProject/b1_ADT
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10302/b1_ADT
Modified Files:
ExtendedDateTime.cs
Log Message:
- the GetArray method has been commented out (useless)
Index: ExtendedDateTime.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/ExtendedDateTime.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ExtendedDateTime.cs 28 Aug 2004 17:09:43 -0000 1.2
--- ExtendedDateTime.cs 22 Jul 2006 20:57:38 -0000 1.3
***************
*** 22,25 ****
--- 22,26 ----
using System;
+ using System.Collections;
namespace QuantProject.ADT
***************
*** 102,105 ****
--- 103,122 ----
return this.DateTime.ToString() + " - " + this.BarComponent.ToString();
}
+ // public static SortedList GetArray( SortedList sortedDateTimes )
+ // {
+ // SortedList dateTimes = new DateTime[ sortedDateTimes.Count ];
+ // for ( int i = 0; i<sortedDateTimes.Count ; i++ )
+ // {
+ // if ( !(sortedDateTimes.GetByIndex( i ) is DateTime ) )
+ // throw( new Exception( "sortedDateTimes is expected to contain only DateTime elements. " +
+ // "The element number " + i + " is not a DateTime, instead." ) );
+ // else
+ // {
+ // DateTime dateTime = (DateTime)sortedDateTimes.GetByIndex( i );
+ // dateTimes[ i ] = dateTime;
+ // }
+ // }
+ // return dateTimes;
+ // }
}
}
|