public bool Contains(SmallDate date) { var contains = Start.Value <= date.Value && date.Value <= End.Value; return(contains); }
public SmallDateInterval(SmallDate start, SmallDate end) { Assert.IsTrue(start <= end); Start = start; End = end; }