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


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