Duration.Inequality Operator |
Returns
true if two
Durations are NOT exactly equal, within the limits
of floating point precision. To be considered equal, the
Days
and
Standard properties must be identical (or one must be null) and the
difference between the
Seconds properties must be less than 1.0e-10.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static bool operator !=(
Duration left,
Duration right
)
Public Shared Operator <> (
left As Duration,
right As Duration
) As Boolean
public:
static bool operator !=(
Duration left,
Duration right
)
static let inline (<>)
left : Duration *
right : Duration : bool
Parameters
- left
- Type: AGI.Foundation.Time.Duration
The first Duration. - right
- Type: AGI.Foundation.Time.Duration
The second Duration.
Return Value
Type:
Booleantrue if the
Durations are not equal; otherwise
false.
Remarks
This method returns false if the two instances have different time standards,
even if the values would be the same when converted to the same time standard.
See Also