JulianDateSubtractHours Method |
Subtracts the specified number of hours from 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 SubtractHours(
double hours
)
Public Function SubtractHours (
hours As Double
) As JulianDate
public:
JulianDate SubtractHours(
double hours
)
member SubtractHours :
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