TimeIntervalCollectionTEqualsEpsilon Method (TimeIntervalCollectionT, Double, IEqualityComparerT) |
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
)
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.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:
BooleanTrue if all
TimeIntervals are equal as defined by the epsilon value.
See Also