Noda Time
FromHours Method (hours)
NamespacesNodaTimeDurationFromHours(Int64)
Returns a Duration that represents the given number of hours.
Declaration Syntax
C#Visual BasicVisual C++
public static Duration FromHours(
	long hours
)
Public Shared Function FromHours ( 
	hours As Long
) As Duration
public:
static Duration FromHours(
	long long hours
)
Parameters
hours (Int64)
The number of hours.
Return Value
Duration
A Duration representing the given number of hours.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)