Click or drag to resize

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.2.419.0 (24.2.419.0)
Syntax
public double DaysDifference(
	JulianDate other
)

Parameters

other
Type: AGI.Foundation.TimeJulianDate
The other Julian date, which is the end of the interval.

Return Value

Type: Double
The 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