Click or drag to resize

JulianDateSubtraction Operator (JulianDate, JulianDate)

Subtracts a Julian date from another Julian date, yielding a Duration.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 23.1.416.0 (23.1.416.0)
public static Duration operator -(
	JulianDate left,
	JulianDate right


Type: AGI.Foundation.TimeJulianDate
The minuend.
Type: AGI.Foundation.TimeJulianDate
The subtrahend.

Return Value

Type: Duration
The Duration that is the result of the subtraction; that is, left minus right. The time standard will be the same as the time standard of the subtrahend.
This method subtracts right from left and returns the Duration between them. The computation is done in the time standard of right, or the closest standard that is safe for arithmetic if right's time standard is not safe. For best performance, the left and right Julian dates should have the same time standard and it should be safe for arithmetic.
See Also