Click or drag to resize

TimeIntervalEqualsEpsilon Method

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: 19.1.398.0 (19.1.398.0)
Syntax
public bool EqualsEpsilon(
	TimeInterval other,
	double epsilon
)

Parameters

other
Type: AGI.Foundation.TimeTimeInterval
The time interval to compare to this time interval.
epsilon
Type: SystemDouble
The largest difference between the Start and Stop dates, in seconds, such that they will be considered equal.

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