public override bool Equals(object x)
        {
            IrregularIntervalSchedule s = (IrregularIntervalSchedule)x;

            if (base.Equals(x))
            {
                return(s.timePoints == timePoints);
            }

            return(false);
        }
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         IrregularIntervalSchedule iis = (IrregularIntervalSchedule)obj;
         return(CompareHelper.CompareLists(iis.TimePoints, this.TimePoints));
     }
     else
     {
         return(false);
     }
 }