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