Click or drag to resize

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.3.420.0 (24.3.420.0)
Syntax
public double SecondsDifference(
	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 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