DurationFromHours Method (Double) |
Returns a
Duration that represents the specified number of hours.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 23.2.417.0 (23.2.417.0)
Syntaxpublic static Duration FromHours(
double hours
)
Public Shared Function FromHours (
hours As Double
) As Duration
public:
static Duration FromHours(
double hours
)
static member FromHours :
hours : float -> Duration
Parameters
- hours
- Type: SystemDouble
The number of hours to be represented by the returned Duration.
Return Value
Type:
DurationA
Duration representing the specified number of hours.
Exceptions
See Also