TimeSpan
HoursPerDay
MicrosecondsPerDay
MicrosecondsPerHour
MicrosecondsPerMillisecond
MicrosecondsPerMinute
MicrosecondsPerSecond
MillisecondsPerDay
MillisecondsPerHour
MillisecondsPerMinute
MillisecondsPerSecond
MinutesPerDay
MinutesPerHour
NanosecondsPerTick
SecondsPerDay
SecondsPerHour
SecondsPerMinute
TicksPerDay
TicksPerHour
TicksPerMicrosecond
TicksPerMillisecond
TicksPerMinute
TicksPerSecond
MaxValue
MinValue
Zero
TimeSpan(Int64)
TimeSpan(Int32, Int32, Int32)
TimeSpan(Int32, Int32, Int32, Int32)
TimeSpan(Int32, Int32, Int32, Int32, Int32)
TimeSpan(Int32, Int32, Int32, Int32, Int32, Int32)
Days
Hours
Microseconds
Milliseconds
Minutes
Nanoseconds
Seconds
Ticks
TotalDays
TotalHours
TotalMicroseconds
TotalMilliseconds
TotalMinutes
TotalNanoseconds
TotalSeconds
Add(TimeSpan)
Compare(TimeSpan, TimeSpan)
CompareTo(Object)
CompareTo(TimeSpan)
Divide(Double)
Divide(TimeSpan)
Duration()
Equals(Object)
Equals(TimeSpan)
Equals(TimeSpan, TimeSpan)
FromDays(Double)
FromDays(Int32)
FromDays(Int32, Int32, Int64, Int64, Int64, Int64)
FromHours(Double)
FromHours(Int32)
FromHours(Int32, Int64, Int64, Int64, Int64)
FromMicroseconds(Double)
FromMicroseconds(Int64)
FromMilliseconds(Double)
FromMilliseconds(Int64, Int64)
FromMinutes(Double)
FromMinutes(Int64)
FromMinutes(Int64, Int64, Int64, Int64)
FromSeconds(Double)
FromSeconds(Int64)
FromSeconds(Int64, Int64, Int64)
FromTicks(Int64)
GetHashCode()
Multiply(Double)
Negate()
Parse(String)
Parse(String, IFormatProvider)
Parse(ReadOnlySpan<Char>, IFormatProvider)
ParseExact(String, String, IFormatProvider)
ParseExact(String, String[], IFormatProvider)
ParseExact(String, String, IFormatProvider, TimeSpanStyles)
ParseExact(String, String[], IFormatProvider, TimeSpanStyles)
ParseExact(ReadOnlySpan<Char>, ReadOnlySpan<Char>, IFormatProvider, TimeSpanStyles)
ParseExact(ReadOnlySpan<Char>, String[], IFormatProvider, TimeSpanStyles)
Subtract(TimeSpan)
ToString()
ToString(String)
ToString(String, IFormatProvider)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryParse(String, TimeSpan)
TryParse(String, IFormatProvider, TimeSpan)
TryParse(ReadOnlySpan<Char>, TimeSpan)
TryParse(ReadOnlySpan<Char>, IFormatProvider, TimeSpan)
TryParseExact(String, String, IFormatProvider, TimeSpan)
TryParseExact(String, String[], IFormatProvider, TimeSpan)
TryParseExact(String, String, IFormatProvider, TimeSpanStyles, TimeSpan)
TryParseExact(String, String[], IFormatProvider, TimeSpanStyles, TimeSpan)
TryParseExact(ReadOnlySpan<Char>, ReadOnlySpan<Char>, IFormatProvider, TimeSpan)
TryParseExact(ReadOnlySpan<Char>, String[], IFormatProvider, TimeSpan)
TryParseExact(ReadOnlySpan<Char>, ReadOnlySpan<Char>, IFormatProvider, TimeSpanStyles, TimeSpan)
TryParseExact(ReadOnlySpan<Char>, String[], IFormatProvider, TimeSpanStyles, TimeSpan)
operator -(TimeSpan)
operator -(TimeSpan, TimeSpan)
operator !=(TimeSpan, TimeSpan)
operator *(Double, TimeSpan)
operator *(TimeSpan, Double)
operator /(TimeSpan, Double)
operator /(TimeSpan, TimeSpan)
operator +(TimeSpan)
operator +(TimeSpan, TimeSpan)
operator <(TimeSpan, TimeSpan)
operator <=(TimeSpan, TimeSpan)
operator ==(TimeSpan, TimeSpan)
operator >(TimeSpan, TimeSpan)
operator >=(TimeSpan, TimeSpan)
ToFormattedString(TimeSpan, String, CultureInfo)
net9.0
namespace System
{
public readonly struct TimeSpan : IComparable, IComparable<TimeSpan>, IEquatable<TimeSpan>, IFormattable, IParsable<TimeSpan>, ISpanFormattable, ISpanParsable<TimeSpan>, IUtf8SpanFormattable
{
public const long MicrosecondsPerDay = 86400000000L;
}
}
.NET | 9.0 |
---|---|
Information specific to net9.0 | |
Assembly | System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API