Beispiel #1
0
 /// <summary>
 /// Assign Dates. if full period of record is requested, find
 /// all series and determine period of record from the data.
 /// </summary>
 /// <param name="t1"></param>
 /// <param name="t2"></param>
 private void AssignDates(DateTime t1, DateTime t2)
 {
     if (t1 == TimeSeriesDatabase.MinDateTime ||
         t2 == TimeSeriesDatabase.MaxDateTime)
     {
         Logger.WriteLine("computing composite period of record");
         SeriesList sl  = SeriesInExpression(exp);
         var        por = sl.PeriodOfRecord();
         this.t1 = por.T1;
         this.t2 = por.T2;
         Logger.WriteLine(por.ToString());
     }
     else
     {
         this.t1 = t1;
         this.t2 = t2;
     }
 }