Adds a Duration
to this Julian date, producing a new Julian date.
, this method will clamp the result to the valid range
of values for JulianDate
rather than throwing an exception.
In most cases, Add(Duration)
should be used instead.
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.2.404.0 (20.2.404.0)
public JulianDate AddClamped(
Public Function AddClamped (
duration As Duration
) As JulianDate
member AddClamped :
duration : Duration -> JulianDate
- Type: AGI.Foundation.TimeDuration
The duration to add.
A new JulianDate
that is the result of the addition.
If the result would exceed the valid range of values for a JulianDate
the value is clamped to MaxValue
If the Standard
different from the Standard
of this JulianDate
will be converted to duration
time standard before performing the addition. Then, the result will be
converted to this JulianDate
's time standard before it is
returned, unless the result cannot be represented in this
's time standard, in which case it will remain in a
time standard that can represent the result.