Example #1
0
        public void inPeriod()
        {
            //   Assert.IsFalse(bar.inPeriod(null));

            Assert.IsFalse(bar.InPeriod(beginTime.withDayOfMonth(24)));
            Assert.IsFalse(bar.InPeriod(beginTime.withDayOfMonth(26)));
            Assert.IsTrue(bar.InPeriod(beginTime.withMinute(30)));

            Assert.IsTrue(bar.InPeriod(beginTime));
            Assert.IsFalse(bar.InPeriod(endTime));
        }