Noda Time
FromHours Method (hours)
NamespacesNodaTimeDurationFromHours(Int64)

[This is preliminary documentation and is subject to change.]

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
A Duration representing the given number of hours.

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