Click or drag to resize

TimeIntervalTIsEmpty Property

Gets a value indicating whether or not the interval is empty. Emptiness is defined as either the stop time comes before the start time, or the interval represents zero duration with exclusive endpoints. To probe if the amount of time contained in an interval is zero, convert to a duration using ToDuration and check for equality with Zero.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
public bool IsEmpty { get; }

Property Value

Type: Boolean
See Also