JulianDateSubtraction Operator (JulianDate, Duration) |
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static JulianDate operator -(
JulianDate left,
Duration right
)
Public Shared Operator - (
left As JulianDate,
right As Duration
) As JulianDate
public:
static JulianDate operator -(
JulianDate left,
Duration right
)
static let inline (-)
left : JulianDate *
right : Duration : JulianDate
Parameters
- left
- Type: AGI.Foundation.TimeJulianDate
The minuend. - right
- Type: AGI.Foundation.TimeDuration
The subtrahend.
Return Value
Type:
JulianDate
A new Julian Date that is the result of the subtraction; that is,
left minus
right.
Remarks
If the
Standard of
right is different
from the
Standard of
left,
left will be converted to
right's time
standard before performing the subtraction. Then, the result will be converted
to this
JulianDate's time standard before it is returned, unless
the result cannot be represented in this
JulianDate's time
standard, in which case it will remain in a
TimeStandard that can
represent the result.
See Also