示例#1
0
        public void Task_Date_Not_Overlap()
        {
            DatetimeUtil datetime = new DatetimeUtil();
            bool         result   = datetime.IsOverlapped("20200101", "20200115", "20200302", "20200401");

            Assert.False(result);
        }
示例#2
0
        public void Task_Date_Overlap()
        {
            DatetimeUtil datetime = new DatetimeUtil();
            bool         result   = datetime.IsOverlapped("20200101", "20200130", "20200110", "20200401");

            Assert.True(result);
        }