Click or drag to resize

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: 19.2.399.0 (19.2.399.0)
Syntax
public JulianDate AddHours(
	double hours
)

Parameters

hours
Type: SystemDouble
The number of hours.

Return Value

Type: JulianDate
The new date.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if the result represents a value too large to be stored in a JulianDate.
See Also