GlobalPositioningSystemDateEqualsEpsilon Method |
Returns true if this date is within epsilon seconds of the
specified date. That is, in order for the dates to be considered equal (and for
this function to return true), the absolute value of the difference between them, in
seconds, must be less than or equal to epsilon.
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(
GlobalPositioningSystemDate other,
double epsilon
)
Public Function EqualsEpsilon (
other As GlobalPositioningSystemDate,
epsilon As Double
) As Boolean
public:
virtual bool EqualsEpsilon(
GlobalPositioningSystemDate other,
double epsilon
) sealed
abstract EqualsEpsilon :
other : GlobalPositioningSystemDate *
epsilon : float -> bool
override EqualsEpsilon :
other : GlobalPositioningSystemDate *
epsilon : float -> bool
Parameters
- other
- Type: AGI.Foundation.TimeGlobalPositioningSystemDate
The date to compare to this date. - epsilon
- Type: SystemDouble
The largest difference between the dates, in seconds, such that they will be considered equal.
Return Value
Type:
Booleantrue if the dates are equal as defined by the epsilon value.
Implements
IEquatableEpsilonTEqualsEpsilon(T, Double)See Also