NAnt SDK Documentation - v0.85-nightly-2005-11-09
TimeSpanFunctions Methods
The methods of the TimeSpanFunctions class are listed below. For a complete list of TimeSpanFunctions class members, see the TimeSpanFunctions Members topic.
Public Static (Shared) Methods
FromDays Returns a TimeSpan that represents a specified number of days, where the specification is accurate to the nearest millisecond.
FromHours Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond.
FromMilliseconds Returns a TimeSpan that represents a specified number of milliseconds.
FromMinutes Returns a TimeSpan that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.
FromSeconds Returns a TimeSpan that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.
FromTicks Returns a TimeSpan that represents a specified time, where the specification is in units of ticks.
GetDays Returns the number of whole days represented by the specified TimeSpan .
GetHours Returns the number of whole hours represented by the specified TimeSpan .
GetMilliseconds Returns the number of whole milliseconds represented by the specified TimeSpan .
GetMinutes Returns the number of whole minutes represented by the specified TimeSpan .
GetSeconds Returns the number of whole seconds represented by the specified TimeSpan .
GetTicks Returns the number of ticks contained in the specified TimeSpan .
GetTotalDays Returns the total number of days represented by the specified TimeSpan , expressed in whole and fractional days.
GetTotalHours Returns the total number of hours represented by the specified TimeSpan , expressed in whole and fractional hours.
GetTotalMilliseconds Returns the total number of milliseconds represented by the specified TimeSpan , expressed in whole and fractional milliseconds.
GetTotalMinutes Returns the total number of minutes represented by the specified TimeSpan , expressed in whole and fractional minutes.
GetTotalSeconds Returns the total number of seconds represented by the specified TimeSpan , expressed in whole and fractional seconds.
Public Instance Methods
Protected Instance Methods
See Also
TimeSpanFunctions Class | NAnt.Core.Functions Namespace