Click or drag to resize

JulianDate.Addition Operator

Adds a Duration to a JulianDate, producing a new JulianDate.

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

Parameters

left
Type: AGI.Foundation.Time.JulianDate
The Julian date.
right
Type: AGI.Foundation.Time.Duration
The duration.

Return Value

Type: JulianDate
A new JulianDate that is the result of the addition.
Remarks
If the Standard of right is different from the Standard of left, left will be converted to right's time standard before performing the addition. Then, the result will be converted to left's time standard before it is returned, unless the result cannot be represented in left's time standard, in which case it will remain in a TimeStandard that can represent the result.
See Also