NAnt SDK Documentation - v0.92 |
|
TimeSpanFunctions.FromHours Method
Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond.
[Visual Basic]
<Function(Name:="from-hours")>
Public Shared Function FromHours( _
ByVal
value As
Double _
) As
TimeSpan
[C#]
[Function(Name="from-hours")]
public static
TimeSpan FromHours(
double value);
Parameters
-
value
- A number of hours, accurate to the nearest millisecond.
Return Value
A TimeSpan that represents value.
See Also
TimeSpanFunctions Class | NAnt.Core.Functions Namespace