Duration FromHours Method Noda Time
Returns a Duration that represents the given number of hours.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public static Duration FromHours(
	long hours
)

Return Value

Type: Duration
A Duration representing the given number of hours.
Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also