Click or drag to resize

DurationEqualsEpsilon Method

Returns if this Duration is within epsilon seconds of the specified Duration. That is, in order for the Durations to be considered equal (and for this function to return ), the absolute value of the difference between them, in seconds, must be less than or equal to epsilon.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public bool EqualsEpsilon(
	Duration other,
	double epsilon
)

Parameters

other
Type: AGI.Foundation.TimeDuration
The Duration to compare to this Duration.
epsilon
Type: SystemDouble
The largest difference between the Durations, in seconds, such that they will be considered equal.

Return Value

Type: Boolean
if the dates are equal as defined by the epsilon value.

Implements

IEquatableEpsilonTEqualsEpsilon(T, Double)
See Also