Gets or sets the end date and time of the time interval.
A DateTime value representing the end of the time interval.
The End property is usually specified by the TimeInterval.Start and TimeInterval.Duration properties, and is always calculated as End = Start + Duration. When setting the End property, the TimeInterval.Start property preserves its value, and the TimeInterval.Duration is changed according to the new value of the End property. If the new TimeInterval.End property value is less than the TimeInterval.Start property value, then an exception will be raised.
If the TimeInterval.AllDay property is set to true, then the TimeOfDay of TimeInterval.Start and TimeInterval.End properties is always equal to 0:00:00, so that this time interval's duration is always equal to a whole number of days.