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: 24.2.419.0 (24.2.419.0)
Syntax public bool EqualsEpsilon(
TimeInterval other,
double epsilon
)
Public Function EqualsEpsilon (
other As TimeInterval,
epsilon As Double
) As Boolean
public:
virtual bool EqualsEpsilon(
TimeInterval^ other,
double epsilon
) sealed
abstract EqualsEpsilon :
other : TimeInterval *
epsilon : float -> bool
override EqualsEpsilon :
other : TimeInterval *
epsilon : float -> bool
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:
Booleantrue if the
Start and
Stop dates of the intervals are equal as defined by the epsilon value and all other properties are identical.
Implements
IEquatableEpsilonTEqualsEpsilon(T, Double)See Also