TimeSpanConversionFunctions Class

Summary

Class which provides NAnt functions to convert strings in date and time span objects and vice versa.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Base Types
graph BT Type-->Base0["FunctionSetBase"] click Base0 "/api/NAnt.Core/FunctionSetBase" Base0-->Base1["Object"] Type["TimeSpanConversionFunctions"] class Type type-node

Syntax

[FunctionSet("timespan", "Conversion")]
public class TimeSpanConversionFunctions : FunctionSetBase

Attributes

Type Description
FunctionSetAttribute Indicates that class should be treated as a set of functions.

Constructors

Name Summary
TimeSpanConversionFunctions(Project, PropertyDictionary) Initializes a new instance of the NAnt.Core.Functions.TimeSpanConversionFunctions class.

Properties

Name Value Summary
Project Project
Gets or sets the NAnt.Core.FunctionSetBase.Project that this functionset will reference.
Inherited from FunctionSetBase

Methods

Name Value Summary
Parse(string) TimeSpan
Constructs a System.TimeSpan from a time indicated by a specified string.
static
ToString(TimeSpan) string
Converts the specified System.TimeSpan to its equivalent string representation.
static