NAnt SDK Documentation - v0.92

TimeSpanFunctions.GetMinutes Method 

Returns the number of whole minutes represented by the specified TimeSpan.

[Visual Basic]
<Function(Name:="get-minutes")>
Public Shared Function GetMinutes( _
   ByVal value As TimeSpan _
) As Integer
[C#]
[Function(Name="get-minutes")]
public static int GetMinutes(
   TimeSpan value
);

Parameters

value
A TimeSpan.

Return Value

The number of whole minutes represented by the given TimeSpan.

See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace