Ejemplo n.º 1
0
        public bool Contains(SmallDate date)
        {
            var contains = Start.Value <= date.Value && date.Value <= End.Value;

            return(contains);
        }
Ejemplo n.º 2
0
 public SmallDateInterval(SmallDate start, SmallDate end)
 {
     FoundationContract.Requires <ArgumentException>(start <= end);
     Start = start;
     End   = end;
 }