Search
TimeSpan Methods
 


 Public Methods

  Name Description

add

Returns a new TimeSpan object whose value is the sum of the specified TimeSpan object and this instance.

clone

Creates a copy of the time span.

equals

Checks if the time span object represents the same time value as the current instance.

fromDays

Returns a TimeSpan that represents a specified number of days.

fromHours

Returns a TimeSpan that represents a specified number of hours.

fromMilliseconds

Returns a TimeSpan that represents a specified number of milliseconds.

fromMinutes

Returns a TimeSpan that represents a specified number of minutes.

fromSeconds

Returns a TimeSpan that represents a specified number of seconds.

subtract

Returns a new TimeSpan object whose value is the difference between the specified TimeSpan object and this instance.

 See Also