Summary
Class which provides NAnt functions to convert strings in date and time objects and vice versa.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Base Types
-
- Object
- FunctionSetBase
graph BT
Type-->Base0["FunctionSetBase"]
click Base0 "/api/NAnt.Core/FunctionSetBase"
Base0-->Base1["Object"]
Type["DateTimeConversionFunctions"]
class Type type-node
Syntax
[FunctionSet("datetime", "Conversion")]
public class DateTimeConversionFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
Name | Summary |
---|---|
Date |
Initializes a new instance of the NAnt.Core.Functions.DateTimeConversionFunctions 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 |
DateTime |
Converts the specified string representation of a date and time to
its
System.DateTime equivalent.
static
|
ToString |
string |
Converts the specified
System.DateTime to its equivalent
string representation.
static
|
ToString |
string |
Converts the specified
System.DateTime to its equivalent
string representation.
static
|