static TimeBox _matchingTimeBox(DateTime t0, DateTime t1, TimeBox src) { var tb = new TimeBox(t0, t1); tb.CopyStates(src); return(tb); }
internal void TimeBoxAdd(List <TimeBox> collection) { foreach (var src in collection) { var trb = new TimeBox(src.StartDate, src.EndDate, this); trb.CopyStates(src); TimeBoxCollection.Add(trb); } TimeBox._sort(TimeBoxCollection); TimeBoxMerge(); }