コード例 #1
0
        public bool Contains(SmallDate date)
        {
            var contains = Start.Value <= date.Value && date.Value <= End.Value;

            return(contains);
        }
コード例 #2
0
 public SmallDateInterval(SmallDate start, SmallDate end)
 {
     Assert.IsTrue(start <= end);
     Start = start;
     End   = end;
 }