Class NumberToTimespanExtensions
Provides extensions to numeric types (such as int, long, double) to convert to a System.TimeSpan value.
Inheritance
Inherited Members
Namespace: TimeyWimey
Assembly: cs.temp.dll.dll
Syntax
public static class NumberToTimespanExtensions
Methods
Name | Description |
---|---|
Days(Double) | Returns a System.TimeSpan representing the specified number of days. |
Days(Int32) | Returns a System.TimeSpan representing the specified number of days. |
Days(Int64) | Returns a System.TimeSpan representing the specified number of days. |
Days(Single) | Returns a System.TimeSpan representing the specified number of days. |
Hours(Double) | Returns a System.TimeSpan representing the specified number of hours. |
Hours(Int32) | Returns a System.TimeSpan representing the specified number of hours. |
Hours(Int64) | Returns a System.TimeSpan representing the specified number of hours. |
Hours(Single) | Returns a System.TimeSpan representing the specified number of hours. |
Milliseconds(Double) | Returns a System.TimeSpan representing the specified number of milliseconds. |
Milliseconds(Int32) | Returns a System.TimeSpan representing the specified number of milliseconds. |
Milliseconds(Int64) | Returns a System.TimeSpan representing the specified number of milliseconds. |
Milliseconds(Single) | Returns a System.TimeSpan representing the specified number of milliseconds. |
Minutes(Double) | Returns a System.TimeSpan representing the specified number of minutes. |
Minutes(Int32) | Returns a System.TimeSpan representing the specified number of minutes. |
Minutes(Int64) | Returns a System.TimeSpan representing the specified number of minutes. |
Minutes(Single) | Returns a System.TimeSpan representing the specified number of minutes. |
Seconds(Double) | Returns a System.TimeSpan representing the specified number of seconds. |
Seconds(Int32) | Returns a System.TimeSpan representing the specified number of seconds. |
Seconds(Int64) | Returns a System.TimeSpan representing the specified number of seconds. |
Seconds(Single) | Returns a System.TimeSpan representing the specified number of seconds. |