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: 23.2.417.0 (23.2.417.0)
Syntaxpublic bool IsEmpty { get; }
Public ReadOnly Property IsEmpty As Boolean
Get
public:
property bool IsEmpty {
bool get ();
}
member IsEmpty : bool with get
Property Value
Type:
Boolean
See Also