JulianDateSecondsDifference Method |
Computes the number of seconds that have elapsed from this Julian date to the
other 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 double SecondsDifference(
JulianDate other
)
Public Function SecondsDifference (
other As JulianDate
) As Double
public:
double SecondsDifference(
JulianDate other
)
member SecondsDifference :
other : JulianDate -> float
Parameters
- other
- Type: AGI.Foundation.TimeJulianDate
The other Julian date, which is the end of the interval.
Return Value
Type:
DoubleThe number of seconds that have elapsed from this Julian date to the other Julian date.
Remarks
This method subtracts the Julian date on which it is called from the other
Julian date and returns the number of seconds between them. The computation is done in the time
standard of this Julian date, or the closest standard that is safe for arithmetic if this
Julian date's time standard is not safe. For best performance, this Julian date and the
other Julian date should have the same time standard and it should be
safe for arithmetic.
See Also