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)
net10.0-windows7.0
namespace System
{
public readonly struct TimeSpan : IAdditionOperators<TimeSpan, TimeSpan, TimeSpan>, IAdditiveIdentity<TimeSpan, TimeSpan>, IComparable, IComparable<TimeSpan>, IComparisonOperators<TimeSpan, TimeSpan>, IDivisionOperators<TimeSpan, double, TimeSpan>, IDivisionOperators<TimeSpan, TimeSpan, double>, IEqualityOperators<TimeSpan, TimeSpan>, IEquatable<TimeSpan>, IFormattable, IMinMaxValue<TimeSpan>, IMultiplicativeIdentity<TimeSpan, double>, IMultiplyOperators<TimeSpan, double, TimeSpan>, IParseable<TimeSpan>, ISpanFormattable, ISpanParseable<TimeSpan>, ISubtractionOperators<TimeSpan, TimeSpan, TimeSpan>, IUnaryNegationOperators<TimeSpan, TimeSpan>, IUnaryPlusOperators<TimeSpan, TimeSpan>
{
public static bool TryParse(ReadOnlySpan<char> s, out TimeSpan result);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.12.23.03.1 |
.NET Standard | 2.1 |
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assemblies | System.Runtime , Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime , Version=6.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Runtime.Experimental (7.0.0-preview.2.22152.2) net7.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API