Click or drag to resize

TimeIntervalCollectionTEqualsEpsilon Method (TimeIntervalCollectionT, Double, IEqualityComparerT)

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: 24.3.420.0 (24.3.420.0)
Syntax
public bool EqualsEpsilon(
	TimeIntervalCollection<T> other,
	double epsilon,
	IEqualityComparer<T> dataComparer
)

Parameters

other
Type: AGI.Foundation.TimeTimeIntervalCollectionT
A TimeIntervalCollectionT to compare this one to.
epsilon
Type: SystemDouble
The largest difference between the Start and Stop dates, in seconds, such that they will be considered equal.
dataComparer
Type: System.Collections.GenericIEqualityComparerT
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