JulianDateAddHours Method |
Adds the specified number of hours to this date and returns the new date.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic JulianDate AddHours(
double hours
)
Public Function AddHours (
hours As Double
) As JulianDate
public:
JulianDate AddHours(
double hours
)
member AddHours :
hours : float -> JulianDate
Parameters
- hours
- Type: SystemDouble
The number of hours.
Return Value
Type:
JulianDateThe new date.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown when the result represents a value too large to be stored in a JulianDate.
|
See Also