JulianDate Constructor (Int32, Double) |
Initializes a
JulianDate from the provided values.
The values will be normalized so that the
SecondsOfDay
property is less than the length of a day.
The time standard will be International Atomic Time (TAI).
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic JulianDate(
int day,
double secondsOfDay
)
Public Sub New (
day As Integer,
secondsOfDay As Double
)
public:
JulianDate(
int day,
double secondsOfDay
)
new :
day : int *
secondsOfDay : float -> JulianDateParameters
- day
- Type: SystemInt32
The whole number part of the date. - secondsOfDay
- Type: SystemDouble
The time of day, expressed as seconds past noon on the given whole-number day.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown when the result represents a value too large to be stored in a JulianDate.
|
See Also