Click or drag to resize

DurationEquality Operator

Returns if two Durations are exactly equal, within the limits of floating point precision. To be considered equal, the Days and Standard properties must be identical (or one must be null) and the difference between the Seconds properties must be less than 1.0e-10.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static bool operator ==(
	Duration left,
	Duration right
)

Parameters

left
Type: AGI.Foundation.TimeDuration
The left Duration.
right
Type: AGI.Foundation.TimeDuration
The second Duration.

Return Value

Type: Boolean
if the Durations are equal; otherwise .
Remarks
This method returns if the two instances have different time standards, even if the values would be the same when converted to the same time standard.
See Also