JulianDate.DaysDifference 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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.Time.JulianDate
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