public bool IsEstimateOpen(DateTime D) { TimePeriod period = this[0]; return((D.Hour >= DateTime.FromOADate(period.Time1).Hour) && (D.Hour <= DateTime.FromOADate(this[base.List.Count - 1].Time2).AddMinutes((double)this.YahooDelay).Hour)); }
public virtual void Add(TimePeriod tp) { base.List.Add(tp); }