Click or drag to resize

TimeIntervalCollection<T>.EqualsEpsilon Method (TimeIntervalCollection<T>, Double, IEqualityComparer<T>)

Determines if this TimeIntervalCollection is equal to another by comparing each of the TimeInterval elements in the two collections with EqualsEpsilon(TimeInterval, Double).

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public bool EqualsEpsilon(
	TimeIntervalCollection<T> other,
	double epsilon,
	IEqualityComparer<T> dataComparer
)

Parameters

other
Type: AGI.Foundation.Time.TimeIntervalCollection<T>
A TimeIntervalCollection<T> to compare this one to.
epsilon
Type: System.Double
The largest difference between the Start and Stop dates, in seconds, such that they will be considered equal.
dataComparer
Type: System.Collections.Generic.IEqualityComparer<T>
The object to use to compare the Data properties of intervals.

Return Value

Type: Boolean
True if all TimeIntervals are equal as defined by the epsilon value.
See Also