Beispiel #1
0
 public bool IsBefore(DateTime time)
 {
     return(Oldest.CompareTo(time) >= 0);
 }
Beispiel #2
0
 public bool Contains(DateTime time)
 {
     return(Oldest.CompareTo(time) <= 0 && Newest.CompareTo(time) >= 0);
 }