Click or drag to resize

TimeIntervalTEqualsEpsilon Method (TimeIntervalT, Double, IEqualityComparerT)

Determines if this time interval is equal to another time interval, using an epsilon to compare the Start and Stop properties of the two intervals. The dates are considered equal if they are within epsilon seconds of each other. All other properties must be identical.

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


Type: AGI.Foundation.TimeTimeIntervalT
The time interval to compare to this time interval.
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 the two intervals.

Return Value

Type: Boolean
true if the Start and Stop dates of the intervals are equal as defined by the epsilon value and all other properties are identical.
See Also