public void ContainsDate()
        {
            var range = new DateRange(this.date1900, this.date2000);
            Assert.AreEqual(this.date1900, range.Start, "Start");
            Assert.AreEqual(this.date2000, range.Finish, "Finish");

            Assert.IsTrue(range.Contains(this.date1900), "1900");
            Assert.IsTrue(range.Contains(this.date1950), "1950");
            Assert.IsTrue(range.Contains(this.date2000), "2000");
        }
        public void ContainsRange()
        {
            var first = new DateRange(this.date1900, this.date2000);
            var second = new DateRange(this.date1950, this.date1950);

            Assert.IsTrue(first.Contains(second));
        }
        public void NotContainsRange()
        {
            var first = new DateRange(this.date1900, this.date2000);
            var second = new DateRange(this.date1900.AddDays(-1), this.date1950);

            Assert.IsFalse(first.Contains(second));
        }