} // OverlapsWith // ---------------------------------------------------------------------- public virtual PeriodRelation GetRelation(TimeSlot test) { if (test == null) { throw new ArgumentNullException("test"); } return(TimePeriodCalc.GetRelation(this, test)); } // GetRelation
} // HasInside // ---------------------------------------------------------------------- public virtual bool HasInside(TimeSlot test) { if (test == null) { throw new ArgumentNullException("test"); } return(TimePeriodCalc.HasInside(this, test)); } // HasInside
} // GetIntersection // ---------------------------------------------------------------------- public virtual bool OverlapsWith(TimeSlot test) { if (test == null) { throw new ArgumentNullException("test"); } return(TimePeriodCalc.OverlapsWith(this, test)); } // OverlapsWith
} // IsSamePeriod // ---------------------------------------------------------------------- public virtual bool HasInside(DateTime test) { return(TimePeriodCalc.HasInside(this, test)); } // HasInside