Пример #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;
 }