JulianDateDaysDifference Method |
Computes the number of days 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.3.420.0 (24.3.420.0)
Syntax public double DaysDifference(
JulianDate other
)
Public Function DaysDifference (
other As JulianDate
) As Double
public:
double DaysDifference(
JulianDate other
)
member DaysDifference :
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 days 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 days 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