TimeSpan +25
HoursPerDay
MicrosecondsPerDay
MicrosecondsPerHour
MicrosecondsPerMillisecond
MicrosecondsPerMinute
MicrosecondsPerSecond
MillisecondsPerDay
MillisecondsPerHour
MillisecondsPerMinute
MillisecondsPerSecond
MinutesPerDay
MinutesPerHour
SecondsPerDay
SecondsPerHour
SecondsPerMinute
FromDays(Int32)
FromDays(Int32, Int32, Int64, Int64, Int64, Int64)
FromHours(Int32)
FromHours(Int32, Int64, Int64, Int64, Int64)
FromMicroseconds(Int64)
FromMilliseconds(Int64, Int64)
FromMinutes(Int64)
FromMinutes(Int64, Int64, Int64, Int64)
FromSeconds(Int64)
FromSeconds(Int64, Int64, Int64)
net9.0
namespace System
{
public readonly struct TimeSpan : IComparable, IComparable<TimeSpan>, IEquatable<TimeSpan>, IFormattable, IParsable<TimeSpan>, ISpanFormattable, ISpanParsable<TimeSpan>, IUtf8SpanFormattable
{
public static TimeSpan FromSeconds(long seconds);
}
}
nuget.org | 0.5 % Reference this API |
---|---|
Upgrade Planner | 0.0 % Reference this API |
Design Reviews |
|
.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