Noda Time
FromHours Method (hours)
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
static Duration FromHours(
	long long hours
hours (Int64)
The number of hours.
Return Value
A Duration representing the given number of hours.

Assembly: NodaTime (Module: NodaTime) Version: (1.0.1)