Exemplo n.º 1
0
        private static IEnumerable <LocalInterval> Not(IEnumerable <LocalInterval> ints)
        {
            var intList = ints.ToList();

            if (intList.Count == 0)
            {
                return new[] { new LocalInterval() }
            }
            ;
            return(TimeMathOld.Not(TimeMathOld.MergeTouching(intList)));
        }
 private void EnsureNoOverlappingPeriods()
 {
     // Forgiving for now
     TimeMathOld.MergeTouching(this);
 }