Exemple #1
0
        } // OverlapsWith

        // ----------------------------------------------------------------------
        public virtual PeriodRelation GetRelation(TimeSlot test)
        {
            if (test == null)
            {
                throw new ArgumentNullException("test");
            }
            return(TimePeriodCalc.GetRelation(this, test));
        } // GetRelation
Exemple #2
0
        } // HasInside

        // ----------------------------------------------------------------------
        public virtual bool HasInside(TimeSlot test)
        {
            if (test == null)
            {
                throw new ArgumentNullException("test");
            }
            return(TimePeriodCalc.HasInside(this, test));
        } // HasInside
Exemple #3
0
        } // GetIntersection

        // ----------------------------------------------------------------------
        public virtual bool OverlapsWith(TimeSlot test)
        {
            if (test == null)
            {
                throw new ArgumentNullException("test");
            }
            return(TimePeriodCalc.OverlapsWith(this, test));
        } // OverlapsWith
Exemple #4
0
        } // IsSamePeriod

        // ----------------------------------------------------------------------
        public virtual bool HasInside(DateTime test)
        {
            return(TimePeriodCalc.HasInside(this, test));
        } // HasInside