NAnt SDK Documentation - v0.92

DateTimeFunctions Members

DateTimeFunctions overview

Public Static (Shared) Methods

GetDay Gets the day of the month represented by the specified date.
GetDayOfWeek Gets the day of the week represented by the specified date.
GetDayOfYear Gets the day of the year represented by the specified date.
GetDaysInMonth Returns the number of days in the specified month of the specified year.
GetHour Gets the hour component of the specified date.
GetMillisecond Gets the milliseconds component of the specified date.
GetMinute Gets the minute component of the specified date.
GetMonth Gets the month component of the specified date.
GetSecond Gets the seconds component of the specified date.
GetTicks Gets the number of ticks that represent the specified date.
GetYear Gets the year component of the specified date.
IsLeapYear Returns an indication whether the specified year is a leap year.
Now Gets a DateTime that is the current local date and time on this computer.

Public Instance Constructors

DateTimeFunctions Constructor

Public Instance Properties

Project (inherited from FunctionSetBase) Gets or sets the Project that this functionset will reference.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DateTimeFunctions Class | NAnt.Core.Functions Namespace