public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            DateAndNumberOfDaysUntil another = (DateAndNumberOfDaysUntil)obj;

            return(FutureDate.Equals(another.FutureDate));
        }
 public override int GetHashCode()
 {
     return(FutureDate.GetHashCode());
 }
 public bool Equals(DateTime date)
 {
     return(FutureDate.Equals(date));
 }
 public int CompareTo(DateTime other)
 {
     return(FutureDate.CompareTo(other));
 }
 public int CompareTo(DateAndNumberOfDaysUntil other)
 {
     return(FutureDate.CompareTo(other.FutureDate));
 }