Class TimeSpans
Provides access common time spans. Each time span is a single cached instance, reducing allocations.
Inheritance
Inherited Members
Namespace: TimeyWimey
Assembly: cs.temp.dll.dll
Syntax
public static class TimeSpans
Fields
| Name | Description |
|---|---|
| EightHours | Returns a System.TimeSpan representing eight hours. |
| EightMilliseconds | Returns a System.TimeSpan representing eight millseconds. |
| FifteenMilliseconds | Returns a System.TimeSpan representing 15 millseconds. |
| FifteenMinutes | Returns a System.TimeSpan representing 15 minutes. |
| FifteenSeconds | Returns a System.TimeSpan representing 15 seconds. |
| FiveDays | Returns a System.TimeSpan representing five days. |
| FiveHours | Returns a System.TimeSpan representing five hours. |
| FiveHundredMilliseconds | Returns a System.TimeSpan representing 500 millseconds. |
| FiveMilliseconds | Returns a System.TimeSpan representing five millseconds. |
| FiveMinutes | Returns a System.TimeSpan representing five minutes. |
| FiveSeconds | Returns a System.TimeSpan representing five seconds. |
| FortyFiveMinutes | Returns a System.TimeSpan representing 45 minutes. |
| FortyFiveSeconds | Returns a System.TimeSpan representing 45 seconds. |
| FourteenDays | Returns a System.TimeSpan representing 14 hours. |
| NinetyDays | Returns a System.TimeSpan representing 90 days. |
| OneDay | Returns a System.TimeSpan representing a single day. |
| OneHour | Returns a System.TimeSpan representing a single hour. |
| OneHundredAndTwentyDays | Returns a System.TimeSpan representing 120 days. |
| OneHundredMilliseconds | Returns a System.TimeSpan representing 100 millseconds. |
| OneMillisecond | Returns a System.TimeSpan representing a single millsecond. |
| OneMinute | Returns a System.TimeSpan representing a single minute. |
| OneSecond | Returns a System.TimeSpan representing a single second. |
| SevenDays | Returns a System.TimeSpan representing seven days. |
| SixteenMilliseconds | Returns a System.TimeSpan representing 16 millseconds. |
| SixtyDays | Returns a System.TimeSpan representing 60 days. |
| TenHours | Returns a System.TimeSpan representing 10 hours. |
| TenMilliseconds | Returns a System.TimeSpan representing ten millseconds. |
| TenMinutes | Returns a System.TimeSpan representing 10 minutes. |
| TenSeconds | Returns a System.TimeSpan representing 10 seconds. |
| ThirtyDays | Returns a System.TimeSpan representing 30 hours. |
| ThirtyMinutes | Returns a System.TimeSpan representing 30 minutes. |
| ThirtyOneDays | Returns a System.TimeSpan representing 31 days. |
| ThirtySeconds | Returns a System.TimeSpan representing 30 seconds. |
| ThreeDays | Returns a System.TimeSpan representing three days. |
| ThreeHours | Returns a System.TimeSpan representing three hours. |
| ThreeHundredAndSixtyFiveDays | Returns a System.TimeSpan representing 365 days. |
| ThreeMinutes | Returns a System.TimeSpan representing three minutes. |
| ThreeSeconds | Returns a System.TimeSpan representing three seconds. |
| TwelveHours | Returns a System.TimeSpan representing 12 hours. |
| TwentyFourHours | Returns a System.TimeSpan representing 24 hours. |
| TwentyMilliseconds | Returns a System.TimeSpan representing 20 millseconds. |
| TwentyMinutes | Returns a System.TimeSpan representing 20 minutes. |
| TwentySeconds | Returns a System.TimeSpan representing 20 seconds. |
| TwoDays | Returns a System.TimeSpan representing two days. |
| TwoHours | Returns a System.TimeSpan representing two hours. |
| TwoHundredAndFiftyMilliseconds | Returns a System.TimeSpan representing 250 millseconds. |
| TwoMinutes | Returns a System.TimeSpan representing two minutes. |
| TwoSeconds | Returns a System.TimeSpan representing two seconds. |