public bool Equals(CalendarEvent other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return(DtStart.Equals(other.DtStart) && Description == other.Description && Location == other.Location &&
                   Summary == other.Summary);
        }
 public int CompareTo(CalendarEvent other)
 {
     if (DtStart.Equals(other.DtStart))
     {
         return(0);
     }
     if (DtStart.LessThan(other.DtStart))
     {
         return(-1);
     }
     if (DtStart.GreaterThan(other.DtStart))
     {
         return(1);
     }
     throw new Exception("An error occurred while comparing two CalDateTimes.");
 }