public void Task_Date_Not_Overlap() { DatetimeUtil datetime = new DatetimeUtil(); bool result = datetime.IsOverlapped("20200101", "20200115", "20200302", "20200401"); Assert.False(result); }
public void Task_Date_Overlap() { DatetimeUtil datetime = new DatetimeUtil(); bool result = datetime.IsOverlapped("20200101", "20200130", "20200110", "20200401"); Assert.True(result); }