TimeSpanFunctions.

FromMinutes(double) Method

Summary

Returns a System.TimeSpan that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
TimeSpanFunctions

Syntax

[Function("from-minutes")]
public static TimeSpan FromMinutes(double value)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
value double A number of minutes, accurate to the nearest millisecond.

Return Value

Type Description
TimeSpan A System.TimeSpan that represents value.