JulianDateSubtract Method (JulianDate) |
Subtracts another Julian date from this Julian date.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public Duration Subtract(
JulianDate subtrahend
)
Public Function Subtract (
subtrahend As JulianDate
) As Duration
public:
Duration Subtract(
JulianDate subtrahend
)
member Subtract :
subtrahend : JulianDate -> Duration
Parameters
- subtrahend
- Type: AGI.Foundation.TimeJulianDate
The Julian Date to subtract from this Julian Date.
Return Value
Type:
DurationThe Duration that is the result of the subtraction. The time standard will be the same as the time standard of the subtrahend.
Exceptions Remarks
This method subtracts the
subtrahend Julian date from this
Julian date and returns the
Duration between them. The computation is done in
the time standard of the
subtrahend, or the closest standard that is safe for
arithmetic if the subtrahend's time standard is not safe. For best performance, this Julian date
and the subtrahend Julian date should have the same time standard and it should be
safe for arithmetic.
See Also