GlobalPositioningSystemDateSubtraction Operator (GlobalPositioningSystemDate, GlobalPositioningSystemDate) |
Subtracts a date from another date, yielding a
Duration.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static Duration operator -(
GlobalPositioningSystemDate left,
GlobalPositioningSystemDate right
)
Public Shared Operator - (
left As GlobalPositioningSystemDate,
right As GlobalPositioningSystemDate
) As Duration
public:
static Duration operator -(
GlobalPositioningSystemDate left,
GlobalPositioningSystemDate right
)
static let inline (-)
left : GlobalPositioningSystemDate *
right : GlobalPositioningSystemDate : Duration
Parameters
- left
- Type: AGI.Foundation.TimeGlobalPositioningSystemDate
The minuend. - right
- Type: AGI.Foundation.TimeGlobalPositioningSystemDate
The subtrahend.
Return Value
Type:
DurationThe Duration that is the result of the subtraction; that is,
left minus
right.
Remarks
This method subtracts the
right date from the
left
date and returns the
Duration between them.
See Also