<PackageReference Include="NETStandard.Library" Version="2.0.0" />

System.TimeSpan

namespace System { public struct TimeSpan : IComparable, IComparable<TimeSpan>, IEquatable<TimeSpan>, IFormattable { public static readonly TimeSpan MaxValue; public static readonly TimeSpan MinValue; public const long TicksPerDay = 864000000000; public const long TicksPerHour = 36000000000; public const long TicksPerMillisecond = 10000; public const long TicksPerMinute = 600000000; public const long TicksPerSecond = 10000000; public static readonly TimeSpan Zero; public int Days { get; } public int Hours { get; } public int Milliseconds { get; } public int Minutes { get; } public int Seconds { get; } public long Ticks { get; } public double TotalDays { get; } public double TotalHours { get; } public double TotalMilliseconds { get; } public double TotalMinutes { get; } public double TotalSeconds { get; } public TimeSpan(int hours, int minutes, int seconds); public TimeSpan(int days, int hours, int minutes, int seconds); public TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds); public TimeSpan(long ticks); public TimeSpan Add(TimeSpan ts); public static int Compare(TimeSpan t1, TimeSpan t2); public int CompareTo(object value); public int CompareTo(TimeSpan value); public TimeSpan Duration(); public bool Equals(TimeSpan obj); public static bool Equals(TimeSpan t1, TimeSpan t2); public static TimeSpan FromDays(double value); public static TimeSpan FromHours(double value); public static TimeSpan FromMilliseconds(double value); public static TimeSpan FromMinutes(double value); public static TimeSpan FromSeconds(double value); public static TimeSpan FromTicks(long value); public TimeSpan Negate(); public static TimeSpan operator +(TimeSpan t1, TimeSpan t2); public static bool operator ==(TimeSpan t1, TimeSpan t2); public static bool operator >(TimeSpan t1, TimeSpan t2); public static bool operator >=(TimeSpan t1, TimeSpan t2); public static bool operator !=(TimeSpan t1, TimeSpan t2); public static bool operator <(TimeSpan t1, TimeSpan t2); public static bool operator <=(TimeSpan t1, TimeSpan t2); public static TimeSpan operator -(TimeSpan t1, TimeSpan t2); public static TimeSpan operator -(TimeSpan t); public static TimeSpan operator +(TimeSpan t); public static TimeSpan Parse(string s); public static TimeSpan Parse(string input, IFormatProvider formatProvider); public static TimeSpan ParseExact(string input, string format, IFormatProvider formatProvider); public static TimeSpan ParseExact(string input, string format, IFormatProvider formatProvider, TimeSpanStyles styles); public static TimeSpan ParseExact(string input, string[] formats, IFormatProvider formatProvider); public static TimeSpan ParseExact(string input, string[] formats, IFormatProvider formatProvider, TimeSpanStyles styles); public TimeSpan Subtract(TimeSpan ts); public string ToString(string format); public string ToString(string format, IFormatProvider formatProvider); public static bool TryParse(string input, IFormatProvider formatProvider, out TimeSpan result); public static bool TryParse(string s, out TimeSpan result); public static bool TryParseExact(string input, string format, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result); public static bool TryParseExact(string input, string format, IFormatProvider formatProvider, out TimeSpan result); public static bool TryParseExact(string input, string[] formats, IFormatProvider formatProvider, TimeSpanStyles styles, out TimeSpan result); public static bool TryParseExact(string input, string[] formats, IFormatProvider formatProvider, out TimeSpan result); } }