TimeIntervalCollection<T>.EqualsEpsilon Method (TimeIntervalCollection<T>, Double, IEqualityComparer<T>) |
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic bool EqualsEpsilon(
TimeIntervalCollection<T> other,
double epsilon,
IEqualityComparer<T> dataComparer
)
Public Function EqualsEpsilon (
other As TimeIntervalCollection(Of T),
epsilon As Double,
dataComparer As IEqualityComparer(Of T)
) As Boolean
public:
bool EqualsEpsilon(
TimeIntervalCollection<T>^ other,
double epsilon,
IEqualityComparer<T>^ dataComparer
)
member EqualsEpsilon :
other : TimeIntervalCollection<'T> *
epsilon : float *
dataComparer : IEqualityComparer<'T> -> bool
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:
BooleanTrue if all
TimeIntervals are equal as defined by the epsilon value.
See Also