Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/TimeSpan.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

837 lines
40 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents a time interval.</summary>
// Token: 0x0200014B RID: 331
[Token(Token = "0x200014B")]
[ComVisible(true)]
[Serializable]
public struct TimeSpan : IComparable, IComparable<TimeSpan>, IEquatable<TimeSpan>, IFormattable
{
/// <summary>Initializes a new instance of the <see cref="T:System.TimeSpan" /> structure to the specified number of ticks.</summary>
/// <param name="ticks">A time period expressed in 100-nanosecond units.</param>
// Token: 0x06000CCD RID: 3277 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CCD")]
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
public TimeSpan(long ticks)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.TimeSpan" /> structure to a specified number of hours, minutes, and seconds.</summary>
/// <param name="hours">Number of hours.</param>
/// <param name="minutes">Number of minutes.</param>
/// <param name="seconds">Number of seconds.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">The parameters specify a <see cref="T:System.TimeSpan" /> value less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.</exception>
// Token: 0x06000CCE RID: 3278 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CCE")]
[Address(RVA = "0xF71210", Offset = "0xF70210", VA = "0x180F71210")]
public TimeSpan(int hours, int minutes, int seconds)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.TimeSpan" /> structure to a specified number of days, hours, minutes, and seconds.</summary>
/// <param name="days">Number of days.</param>
/// <param name="hours">Number of hours.</param>
/// <param name="minutes">Number of minutes.</param>
/// <param name="seconds">Number of seconds.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">The parameters specify a <see cref="T:System.TimeSpan" /> value less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.</exception>
// Token: 0x06000CCF RID: 3279 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CCF")]
[Address(RVA = "0xF710F0", Offset = "0xF700F0", VA = "0x180F710F0")]
public TimeSpan(int days, int hours, int minutes, int seconds)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.TimeSpan" /> structure to a specified number of days, hours, minutes, seconds, and milliseconds.</summary>
/// <param name="days">Number of days.</param>
/// <param name="hours">Number of hours.</param>
/// <param name="minutes">Number of minutes.</param>
/// <param name="seconds">Number of seconds.</param>
/// <param name="milliseconds">Number of milliseconds.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">The parameters specify a <see cref="T:System.TimeSpan" /> value less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.</exception>
// Token: 0x06000CD0 RID: 3280 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CD0")]
[Address(RVA = "0xF71120", Offset = "0xF70120", VA = "0x180F71120")]
public TimeSpan(int days, int hours, int minutes, int seconds, int milliseconds)
{
}
/// <summary>Gets the number of ticks that represent the value of the current <see cref="T:System.TimeSpan" /> structure.</summary>
/// <returns>The number of ticks contained in this instance.</returns>
// Token: 0x17000101 RID: 257
// (get) Token: 0x06000CD1 RID: 3281 RVA: 0x0000AF38 File Offset: 0x00009138
[Token(Token = "0x17000101")]
public long Ticks
{
[Token(Token = "0x6000CD1")]
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
get
{
return 0L;
}
}
/// <summary>Gets the days component of the time interval represented by the current <see cref="T:System.TimeSpan" /> structure.</summary>
/// <returns>The day component of this instance. The return value can be positive or negative.</returns>
// Token: 0x17000102 RID: 258
// (get) Token: 0x06000CD2 RID: 3282 RVA: 0x0000AF50 File Offset: 0x00009150
[Token(Token = "0x17000102")]
public int Days
{
[Token(Token = "0x6000CD2")]
[Address(RVA = "0xF71310", Offset = "0xF70310", VA = "0x180F71310")]
get
{
return 0;
}
}
/// <summary>Gets the hours component of the time interval represented by the current <see cref="T:System.TimeSpan" /> structure.</summary>
/// <returns>The hour component of the current <see cref="T:System.TimeSpan" /> structure. The return value ranges from -23 through 23.</returns>
// Token: 0x17000103 RID: 259
// (get) Token: 0x06000CD3 RID: 3283 RVA: 0x0000AF68 File Offset: 0x00009168
[Token(Token = "0x17000103")]
public int Hours
{
[Token(Token = "0x6000CD3")]
[Address(RVA = "0xF71330", Offset = "0xF70330", VA = "0x180F71330")]
get
{
return 0;
}
}
/// <summary>Gets the milliseconds component of the time interval represented by the current <see cref="T:System.TimeSpan" /> structure.</summary>
/// <returns>The millisecond component of the current <see cref="T:System.TimeSpan" /> structure. The return value ranges from -999 through 999.</returns>
// Token: 0x17000104 RID: 260
// (get) Token: 0x06000CD4 RID: 3284 RVA: 0x0000AF80 File Offset: 0x00009180
[Token(Token = "0x17000104")]
public int Milliseconds
{
[Token(Token = "0x6000CD4")]
[Address(RVA = "0xF71490", Offset = "0xF70490", VA = "0x180F71490")]
get
{
return 0;
}
}
/// <summary>Gets the minutes component of the time interval represented by the current <see cref="T:System.TimeSpan" /> structure.</summary>
/// <returns>The minute component of the current <see cref="T:System.TimeSpan" /> structure. The return value ranges from -59 through 59.</returns>
// Token: 0x17000105 RID: 261
// (get) Token: 0x06000CD5 RID: 3285 RVA: 0x0000AF98 File Offset: 0x00009198
[Token(Token = "0x17000105")]
public int Minutes
{
[Token(Token = "0x6000CD5")]
[Address(RVA = "0xF714E0", Offset = "0xF704E0", VA = "0x180F714E0")]
get
{
return 0;
}
}
/// <summary>Gets the seconds component of the time interval represented by the current <see cref="T:System.TimeSpan" /> structure.</summary>
/// <returns>The second component of the current <see cref="T:System.TimeSpan" /> structure. The return value ranges from -59 through 59.</returns>
// Token: 0x17000106 RID: 262
// (get) Token: 0x06000CD6 RID: 3286 RVA: 0x0000AFB0 File Offset: 0x000091B0
[Token(Token = "0x17000106")]
public int Seconds
{
[Token(Token = "0x6000CD6")]
[Address(RVA = "0xF71530", Offset = "0xF70530", VA = "0x180F71530")]
get
{
return 0;
}
}
/// <summary>Gets the value of the current <see cref="T:System.TimeSpan" /> structure expressed in whole and fractional days.</summary>
/// <returns>The total number of days represented by this instance.</returns>
// Token: 0x17000107 RID: 263
// (get) Token: 0x06000CD7 RID: 3287 RVA: 0x0000AFC8 File Offset: 0x000091C8
[Token(Token = "0x17000107")]
public double TotalDays
{
[Token(Token = "0x6000CD7")]
[Address(RVA = "0xF71580", Offset = "0xF70580", VA = "0x180F71580")]
get
{
return 0.0;
}
}
/// <summary>Gets the value of the current <see cref="T:System.TimeSpan" /> structure expressed in whole and fractional hours.</summary>
/// <returns>The total number of hours represented by this instance.</returns>
// Token: 0x17000108 RID: 264
// (get) Token: 0x06000CD8 RID: 3288 RVA: 0x0000AFE0 File Offset: 0x000091E0
[Token(Token = "0x17000108")]
public double TotalHours
{
[Token(Token = "0x6000CD8")]
[Address(RVA = "0xF715A0", Offset = "0xF705A0", VA = "0x180F715A0")]
get
{
return 0.0;
}
}
/// <summary>Gets the value of the current <see cref="T:System.TimeSpan" /> structure expressed in whole and fractional milliseconds.</summary>
/// <returns>The total number of milliseconds represented by this instance.</returns>
// Token: 0x17000109 RID: 265
// (get) Token: 0x06000CD9 RID: 3289 RVA: 0x0000AFF8 File Offset: 0x000091F8
[Token(Token = "0x17000109")]
public double TotalMilliseconds
{
[Token(Token = "0x6000CD9")]
[Address(RVA = "0xF715C0", Offset = "0xF705C0", VA = "0x180F715C0")]
get
{
return 0.0;
}
}
/// <summary>Gets the value of the current <see cref="T:System.TimeSpan" /> structure expressed in whole and fractional minutes.</summary>
/// <returns>The total number of minutes represented by this instance.</returns>
// Token: 0x1700010A RID: 266
// (get) Token: 0x06000CDA RID: 3290 RVA: 0x0000B010 File Offset: 0x00009210
[Token(Token = "0x1700010A")]
public double TotalMinutes
{
[Token(Token = "0x6000CDA")]
[Address(RVA = "0xF715F0", Offset = "0xF705F0", VA = "0x180F715F0")]
get
{
return 0.0;
}
}
/// <summary>Gets the value of the current <see cref="T:System.TimeSpan" /> structure expressed in whole and fractional seconds.</summary>
/// <returns>The total number of seconds represented by this instance.</returns>
// Token: 0x1700010B RID: 267
// (get) Token: 0x06000CDB RID: 3291 RVA: 0x0000B028 File Offset: 0x00009228
[Token(Token = "0x1700010B")]
public double TotalSeconds
{
[Token(Token = "0x6000CDB")]
[Address(RVA = "0xF71610", Offset = "0xF70610", VA = "0x180F71610")]
get
{
return 0.0;
}
}
/// <summary>Returns a new <see cref="T:System.TimeSpan" /> object whose value is the sum of the specified <see cref="T:System.TimeSpan" /> object and this instance.</summary>
/// <param name="ts">The time interval to add.</param>
/// <returns>A new object that represents the value of this instance plus the value of <paramref name="ts" />.</returns>
/// <exception cref="T:System.OverflowException">The resulting <see cref="T:System.TimeSpan" /> is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.</exception>
// Token: 0x06000CDC RID: 3292 RVA: 0x0000B040 File Offset: 0x00009240
[Token(Token = "0x6000CDC")]
[Address(RVA = "0xF703F0", Offset = "0xF6F3F0", VA = "0x180F703F0")]
public TimeSpan Add(TimeSpan ts)
{
return default(TimeSpan);
}
/// <summary>Compares two <see cref="T:System.TimeSpan" /> values and returns an integer that indicates whether the first value is shorter than, equal to, or longer than the second value.</summary>
/// <param name="t1">The first time interval to compare.</param>
/// <param name="t2">The second time interval to compare.</param>
/// <returns>One of the following values.
/// Value
///
/// Description
///
/// -1
///
/// <paramref name="t1" /> is shorter than <paramref name="t2" />.
///
/// 0
///
/// <paramref name="t1" /> is equal to <paramref name="t2" />.
///
/// 1
///
/// <paramref name="t1" /> is longer than <paramref name="t2" />.</returns>
// Token: 0x06000CDD RID: 3293 RVA: 0x0000B058 File Offset: 0x00009258
[Token(Token = "0x6000CDD")]
[Address(RVA = "0xF70590", Offset = "0xF6F590", VA = "0x180F70590")]
public static int Compare(TimeSpan t1, TimeSpan t2)
{
return 0;
}
/// <summary>Compares this instance to a specified object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the specified object.</summary>
/// <param name="value">An object to compare, or <see langword="null" />.</param>
/// <returns>One of the following values.
/// Value
///
/// Description
///
/// -1
///
/// This instance is shorter than <paramref name="value" />.
///
/// 0
///
/// This instance is equal to <paramref name="value" />.
///
/// 1
///
/// This instance is longer than <paramref name="value" />.
///
/// -or-
///
/// <paramref name="value" /> is <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="value" /> is not a <see cref="T:System.TimeSpan" />.</exception>
// Token: 0x06000CDE RID: 3294 RVA: 0x0000B070 File Offset: 0x00009270
[Token(Token = "0x6000CDE")]
[Address(RVA = "0xF704B0", Offset = "0xF6F4B0", VA = "0x180F704B0", Slot = "4")]
public int CompareTo(object value)
{
return 0;
}
/// <summary>Compares this instance to a specified <see cref="T:System.TimeSpan" /> object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the <see cref="T:System.TimeSpan" /> object.</summary>
/// <param name="value">An object to compare to this instance.</param>
/// <returns>A signed number indicating the relative values of this instance and <paramref name="value" />.
/// Value
///
/// Description
///
/// A negative integer
///
/// This instance is shorter than <paramref name="value" />.
///
/// Zero
///
/// This instance is equal to <paramref name="value" />.
///
/// A positive integer
///
/// This instance is longer than <paramref name="value" />.</returns>
// Token: 0x06000CDF RID: 3295 RVA: 0x0000B088 File Offset: 0x00009288
[Token(Token = "0x6000CDF")]
[Address(RVA = "0xF70490", Offset = "0xF6F490", VA = "0x180F70490", Slot = "5")]
public int CompareTo(TimeSpan value)
{
return 0;
}
/// <summary>Returns a <see cref="T:System.TimeSpan" /> that represents a specified number of days, where the specification is accurate to the nearest millisecond.</summary>
/// <param name="value">A number of days, accurate to the nearest millisecond.</param>
/// <returns>An object that represents <paramref name="value" />.</returns>
/// <exception cref="T:System.OverflowException">
/// <paramref name="value" /> is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.PositiveInfinity" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.NegativeInfinity" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />.</exception>
// Token: 0x06000CE0 RID: 3296 RVA: 0x0000B0A0 File Offset: 0x000092A0
[Token(Token = "0x6000CE0")]
[Address(RVA = "0xF70700", Offset = "0xF6F700", VA = "0x180F70700")]
public static TimeSpan FromDays(double value)
{
return default(TimeSpan);
}
/// <summary>Returns a new <see cref="T:System.TimeSpan" /> object whose value is the absolute value of the current <see cref="T:System.TimeSpan" /> object.</summary>
/// <returns>A new object whose value is the absolute value of the current <see cref="T:System.TimeSpan" /> object.</returns>
/// <exception cref="T:System.OverflowException">The value of this instance is <see cref="F:System.TimeSpan.MinValue" />.</exception>
// Token: 0x06000CE1 RID: 3297 RVA: 0x0000B0B8 File Offset: 0x000092B8
[Token(Token = "0x6000CE1")]
[Address(RVA = "0xF705B0", Offset = "0xF6F5B0", VA = "0x180F705B0")]
public TimeSpan Duration()
{
return default(TimeSpan);
}
/// <summary>Returns a value indicating whether this instance is equal to a specified object.</summary>
/// <param name="value">An object to compare with this instance.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is a <see cref="T:System.TimeSpan" /> object that represents the same time interval as the current <see cref="T:System.TimeSpan" /> structure; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CE2 RID: 3298 RVA: 0x0000B0D0 File Offset: 0x000092D0
[Token(Token = "0x6000CE2")]
[Address(RVA = "0xF70670", Offset = "0xF6F670", VA = "0x180F70670", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns a value indicating whether this instance is equal to a specified <see cref="T:System.TimeSpan" /> object.</summary>
/// <param name="obj">An object to compare with this instance.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> represents the same time interval as this instance; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CE3 RID: 3299 RVA: 0x0000B0E8 File Offset: 0x000092E8
[Token(Token = "0x6000CE3")]
[Address(RVA = "0x593190", Offset = "0x592190", VA = "0x180593190", Slot = "6")]
public bool Equals(TimeSpan obj)
{
return default(bool);
}
/// <summary>Returns a hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06000CE4 RID: 3300 RVA: 0x0000B100 File Offset: 0x00009300
[Token(Token = "0x6000CE4")]
[Address(RVA = "0xCBFF00", Offset = "0xCBEF00", VA = "0x180CBFF00", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Returns a <see cref="T:System.TimeSpan" /> that represents a specified number of hours, where the specification is accurate to the nearest millisecond.</summary>
/// <param name="value">A number of hours accurate to the nearest millisecond.</param>
/// <returns>An object that represents <paramref name="value" />.</returns>
/// <exception cref="T:System.OverflowException">
/// <paramref name="value" /> is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.PositiveInfinity" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.NegativeInfinity" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />.</exception>
// Token: 0x06000CE5 RID: 3301 RVA: 0x0000B118 File Offset: 0x00009318
[Token(Token = "0x6000CE5")]
[Address(RVA = "0xF70760", Offset = "0xF6F760", VA = "0x180F70760")]
public static TimeSpan FromHours(double value)
{
return default(TimeSpan);
}
// Token: 0x06000CE6 RID: 3302 RVA: 0x0000B130 File Offset: 0x00009330
[Token(Token = "0x6000CE6")]
[Address(RVA = "0xF70920", Offset = "0xF6F920", VA = "0x180F70920")]
private static TimeSpan Interval(double value, int scale)
{
return default(TimeSpan);
}
/// <summary>Returns a <see cref="T:System.TimeSpan" /> that represents a specified number of milliseconds.</summary>
/// <param name="value">A number of milliseconds.</param>
/// <returns>An object that represents <paramref name="value" />.</returns>
/// <exception cref="T:System.OverflowException">
/// <paramref name="value" /> is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.PositiveInfinity" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.NegativeInfinity" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />.</exception>
// Token: 0x06000CE7 RID: 3303 RVA: 0x0000B148 File Offset: 0x00009348
[Token(Token = "0x6000CE7")]
[Address(RVA = "0xF707C0", Offset = "0xF6F7C0", VA = "0x180F707C0")]
public static TimeSpan FromMilliseconds(double value)
{
return default(TimeSpan);
}
/// <summary>Returns a <see cref="T:System.TimeSpan" /> that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.</summary>
/// <param name="value">A number of minutes, accurate to the nearest millisecond.</param>
/// <returns>An object that represents <paramref name="value" />.</returns>
/// <exception cref="T:System.OverflowException">
/// <paramref name="value" /> is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.PositiveInfinity" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.NegativeInfinity" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />.</exception>
// Token: 0x06000CE8 RID: 3304 RVA: 0x0000B160 File Offset: 0x00009360
[Token(Token = "0x6000CE8")]
[Address(RVA = "0xF70820", Offset = "0xF6F820", VA = "0x180F70820")]
public static TimeSpan FromMinutes(double value)
{
return default(TimeSpan);
}
/// <summary>Returns a new <see cref="T:System.TimeSpan" /> object whose value is the negated value of this instance.</summary>
/// <returns>A new object with the same numeric value as this instance, but with the opposite sign.</returns>
/// <exception cref="T:System.OverflowException">The negated value of this instance cannot be represented by a <see cref="T:System.TimeSpan" />; that is, the value of this instance is <see cref="F:System.TimeSpan.MinValue" />.</exception>
// Token: 0x06000CE9 RID: 3305 RVA: 0x0000B178 File Offset: 0x00009378
[Token(Token = "0x6000CE9")]
[Address(RVA = "0xF70A60", Offset = "0xF6FA60", VA = "0x180F70A60")]
public TimeSpan Negate()
{
return default(TimeSpan);
}
/// <summary>Returns a <see cref="T:System.TimeSpan" /> that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.</summary>
/// <param name="value">A number of seconds, accurate to the nearest millisecond.</param>
/// <returns>An object that represents <paramref name="value" />.</returns>
/// <exception cref="T:System.OverflowException">
/// <paramref name="value" /> is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.PositiveInfinity" />.
/// -or-
/// <paramref name="value" /> is <see cref="F:System.Double.NegativeInfinity" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="value" /> is equal to <see cref="F:System.Double.NaN" />.</exception>
// Token: 0x06000CEA RID: 3306 RVA: 0x0000B190 File Offset: 0x00009390
[Token(Token = "0x6000CEA")]
[Address(RVA = "0xF70880", Offset = "0xF6F880", VA = "0x180F70880")]
public static TimeSpan FromSeconds(double value)
{
return default(TimeSpan);
}
/// <summary>Returns a new <see cref="T:System.TimeSpan" /> object whose value is the difference between the specified <see cref="T:System.TimeSpan" /> object and this instance.</summary>
/// <param name="ts">The time interval to be subtracted.</param>
/// <returns>A new time interval whose value is the result of the value of this instance minus the value of <paramref name="ts" />.</returns>
/// <exception cref="T:System.OverflowException">The return value is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.</exception>
// Token: 0x06000CEB RID: 3307 RVA: 0x0000B1A8 File Offset: 0x000093A8
[Token(Token = "0x6000CEB")]
[Address(RVA = "0xF70BE0", Offset = "0xF6FBE0", VA = "0x180F70BE0")]
public TimeSpan Subtract(TimeSpan ts)
{
return default(TimeSpan);
}
/// <summary>Returns a <see cref="T:System.TimeSpan" /> that represents a specified time, where the specification is in units of ticks.</summary>
/// <param name="value">A number of ticks that represent a time.</param>
/// <returns>An object that represents <paramref name="value" />.</returns>
// Token: 0x06000CEC RID: 3308 RVA: 0x0000B1C0 File Offset: 0x000093C0
[Token(Token = "0x6000CEC")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
public static TimeSpan FromTicks(long value)
{
return default(TimeSpan);
}
// Token: 0x06000CED RID: 3309 RVA: 0x0000B1D8 File Offset: 0x000093D8
[Token(Token = "0x6000CED")]
[Address(RVA = "0xF70C80", Offset = "0xF6FC80", VA = "0x180F70C80")]
internal static long TimeToTicks(int hour, int minute, int second)
{
return 0L;
}
/// <summary>Converts the string representation of a time interval to its <see cref="T:System.TimeSpan" /> equivalent.</summary>
/// <param name="s">A string that specifies the time interval to convert.</param>
/// <returns>A time interval that corresponds to <paramref name="s" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="s" /> has an invalid format.</exception>
/// <exception cref="T:System.OverflowException">
/// <paramref name="s" /> represents a number that is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.
/// -or-
/// At least one of the days, hours, minutes, or seconds components is outside its valid range.</exception>
// Token: 0x06000CEE RID: 3310 RVA: 0x0000B1F0 File Offset: 0x000093F0
[Token(Token = "0x6000CEE")]
[Address(RVA = "0xF70B80", Offset = "0xF6FB80", VA = "0x180F70B80")]
public static TimeSpan Parse(string s)
{
return default(TimeSpan);
}
/// <summary>Converts the string representation of a time interval to its <see cref="T:System.TimeSpan" /> equivalent by using the specified culture-specific format information.</summary>
/// <param name="input">A string that specifies the time interval to convert.</param>
/// <param name="formatProvider">An object that supplies culture-specific formatting information.</param>
/// <returns>A time interval that corresponds to <paramref name="input" />, as specified by <paramref name="formatProvider" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="input" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="input" /> has an invalid format.</exception>
/// <exception cref="T:System.OverflowException">
/// <paramref name="input" /> represents a number that is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.
/// -or-
/// At least one of the days, hours, minutes, or seconds components in <paramref name="input" /> is outside its valid range.</exception>
// Token: 0x06000CEF RID: 3311 RVA: 0x0000B208 File Offset: 0x00009408
[Token(Token = "0x6000CEF")]
[Address(RVA = "0xF70B10", Offset = "0xF6FB10", VA = "0x180F70B10")]
public static TimeSpan Parse(string input, IFormatProvider formatProvider)
{
return default(TimeSpan);
}
/// <summary>Converts the string representation of a time interval to its <see cref="T:System.TimeSpan" /> equivalent by using the specified culture-specific formatting information, and returns a value that indicates whether the conversion succeeded.</summary>
/// <param name="input">A string that specifies the time interval to convert.</param>
/// <param name="formatProvider">An object that supplies culture-specific formatting information.</param>
/// <param name="result">When this method returns, contains an object that represents the time interval specified by <paramref name="input" />, or <see cref="F:System.TimeSpan.Zero" /> if the conversion failed. This parameter is passed uninitialized.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="input" /> was converted successfully; otherwise, <see langword="false" />. This operation returns <see langword="false" /> if the <paramref name="input" /> parameter is <see langword="null" /> or <see cref="F:System.String.Empty" />, has an invalid format, represents a time interval that is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />, or has at least one days, hours, minutes, or seconds component outside its valid range.</returns>
// Token: 0x06000CF0 RID: 3312 RVA: 0x0000B220 File Offset: 0x00009420
[Token(Token = "0x6000CF0")]
[Address(RVA = "0xF70FF0", Offset = "0xF6FFF0", VA = "0x180F70FF0")]
public static bool TryParse(string input, IFormatProvider formatProvider, out TimeSpan result)
{
return default(bool);
}
/// <summary>Converts the value of the current <see cref="T:System.TimeSpan" /> object to its equivalent string representation.</summary>
/// <returns>The string representation of the current <see cref="T:System.TimeSpan" /> value.</returns>
// Token: 0x06000CF1 RID: 3313 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000CF1")]
[Address(RVA = "0xF70D40", Offset = "0xF6FD40", VA = "0x180F70D40", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Converts the value of the current <see cref="T:System.TimeSpan" /> object to its equivalent string representation by using the specified format.</summary>
/// <param name="format">A standard or custom <see cref="T:System.TimeSpan" /> format string.</param>
/// <returns>The string representation of the current <see cref="T:System.TimeSpan" /> value in the format specified by the <paramref name="format" /> parameter.</returns>
/// <exception cref="T:System.FormatException">The <paramref name="format" /> parameter is not recognized or is not supported.</exception>
// Token: 0x06000CF2 RID: 3314 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000CF2")]
[Address(RVA = "0xF70DA0", Offset = "0xF6FDA0", VA = "0x180F70DA0")]
public string ToString(string format)
{
return null;
}
/// <summary>Converts the value of the current <see cref="T:System.TimeSpan" /> object to its equivalent string representation by using the specified format and culture-specific formatting information.</summary>
/// <param name="format">A standard or custom <see cref="T:System.TimeSpan" /> format string.</param>
/// <param name="formatProvider">An object that supplies culture-specific formatting information.</param>
/// <returns>The string representation of the current <see cref="T:System.TimeSpan" /> value, as specified by <paramref name="format" /> and <paramref name="formatProvider" />.</returns>
/// <exception cref="T:System.FormatException">The <paramref name="format" /> parameter is not recognized or is not supported.</exception>
// Token: 0x06000CF3 RID: 3315 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000CF3")]
[Address(RVA = "0xF70E10", Offset = "0xF6FE10", VA = "0x180F70E10", Slot = "7")]
public string ToString(string format, IFormatProvider formatProvider)
{
return null;
}
/// <summary>Subtracts a specified <see cref="T:System.TimeSpan" /> from another specified <see cref="T:System.TimeSpan" />.</summary>
/// <param name="t1">The minuend.</param>
/// <param name="t2">The subtrahend.</param>
/// <returns>An object whose value is the result of the value of <paramref name="t1" /> minus the value of <paramref name="t2" />.</returns>
/// <exception cref="T:System.OverflowException">The return value is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.</exception>
// Token: 0x06000CF4 RID: 3316 RVA: 0x0000B238 File Offset: 0x00009438
[Token(Token = "0x6000CF4")]
[Address(RVA = "0xF71690", Offset = "0xF70690", VA = "0x180F71690")]
public static TimeSpan operator -(TimeSpan t1, TimeSpan t2)
{
return default(TimeSpan);
}
/// <summary>Adds two specified <see cref="T:System.TimeSpan" /> instances.</summary>
/// <param name="t1">The first time interval to add.</param>
/// <param name="t2">The second time interval to add.</param>
/// <returns>An object whose value is the sum of the values of <paramref name="t1" /> and <paramref name="t2" />.</returns>
/// <exception cref="T:System.OverflowException">The resulting <see cref="T:System.TimeSpan" /> is less than <see cref="F:System.TimeSpan.MinValue" /> or greater than <see cref="F:System.TimeSpan.MaxValue" />.</exception>
// Token: 0x06000CF5 RID: 3317 RVA: 0x0000B250 File Offset: 0x00009450
[Token(Token = "0x6000CF5")]
[Address(RVA = "0xF71630", Offset = "0xF70630", VA = "0x180F71630")]
public static TimeSpan operator +(TimeSpan t1, TimeSpan t2)
{
return default(TimeSpan);
}
/// <summary>Indicates whether two <see cref="T:System.TimeSpan" /> instances are equal.</summary>
/// <param name="t1">The first time interval to compare.</param>
/// <param name="t2">The second time interval to compare.</param>
/// <returns>
/// <see langword="true" /> if the values of <paramref name="t1" /> and <paramref name="t2" /> are equal; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CF6 RID: 3318 RVA: 0x0000B268 File Offset: 0x00009468
[Token(Token = "0x6000CF6")]
[Address(RVA = "0x52DD60", Offset = "0x52CD60", VA = "0x18052DD60")]
public static bool operator ==(TimeSpan t1, TimeSpan t2)
{
return default(bool);
}
/// <summary>Indicates whether two <see cref="T:System.TimeSpan" /> instances are not equal.</summary>
/// <param name="t1">The first time interval to compare.</param>
/// <param name="t2">The second time interval to compare.</param>
/// <returns>
/// <see langword="true" /> if the values of <paramref name="t1" /> and <paramref name="t2" /> are not equal; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CF7 RID: 3319 RVA: 0x0000B280 File Offset: 0x00009480
[Token(Token = "0x6000CF7")]
[Address(RVA = "0x594EE0", Offset = "0x593EE0", VA = "0x180594EE0")]
public static bool operator !=(TimeSpan t1, TimeSpan t2)
{
return default(bool);
}
/// <summary>Indicates whether a specified <see cref="T:System.TimeSpan" /> is less than another specified <see cref="T:System.TimeSpan" />.</summary>
/// <param name="t1">The first time interval to compare.</param>
/// <param name="t2">The second time interval to compare.</param>
/// <returns>
/// <see langword="true" /> if the value of <paramref name="t1" /> is less than the value of <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CF8 RID: 3320 RVA: 0x0000B298 File Offset: 0x00009498
[Token(Token = "0x6000CF8")]
[Address(RVA = "0xF71680", Offset = "0xF70680", VA = "0x180F71680")]
public static bool operator <(TimeSpan t1, TimeSpan t2)
{
return default(bool);
}
/// <summary>Indicates whether a specified <see cref="T:System.TimeSpan" /> is less than or equal to another specified <see cref="T:System.TimeSpan" />.</summary>
/// <param name="t1">The first time interval to compare.</param>
/// <param name="t2">The second time interval to compare.</param>
/// <returns>
/// <see langword="true" /> if the value of <paramref name="t1" /> is less than or equal to the value of <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CF9 RID: 3321 RVA: 0x0000B2B0 File Offset: 0x000094B0
[Token(Token = "0x6000CF9")]
[Address(RVA = "0xF71670", Offset = "0xF70670", VA = "0x180F71670")]
public static bool operator <=(TimeSpan t1, TimeSpan t2)
{
return default(bool);
}
/// <summary>Indicates whether a specified <see cref="T:System.TimeSpan" /> is greater than another specified <see cref="T:System.TimeSpan" />.</summary>
/// <param name="t1">The first time interval to compare.</param>
/// <param name="t2">The second time interval to compare.</param>
/// <returns>
/// <see langword="true" /> if the value of <paramref name="t1" /> is greater than the value of <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CFA RID: 3322 RVA: 0x0000B2C8 File Offset: 0x000094C8
[Token(Token = "0x6000CFA")]
[Address(RVA = "0xF71660", Offset = "0xF70660", VA = "0x180F71660")]
public static bool operator >(TimeSpan t1, TimeSpan t2)
{
return default(bool);
}
/// <summary>Indicates whether a specified <see cref="T:System.TimeSpan" /> is greater than or equal to another specified <see cref="T:System.TimeSpan" />.</summary>
/// <param name="t1">The first time interval to compare.</param>
/// <param name="t2">The second time interval to compare.</param>
/// <returns>
/// <see langword="true" /> if the value of <paramref name="t1" /> is greater than or equal to the value of <paramref name="t2" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000CFB RID: 3323 RVA: 0x0000B2E0 File Offset: 0x000094E0
[Token(Token = "0x6000CFB")]
[Address(RVA = "0xF71650", Offset = "0xF70650", VA = "0x180F71650")]
public static bool operator >=(TimeSpan t1, TimeSpan t2)
{
return default(bool);
}
// Token: 0x06000CFC RID: 3324 RVA: 0x0000B2F8 File Offset: 0x000094F8
[Token(Token = "0x6000CFC")]
[Address(RVA = "0xF708E0", Offset = "0xF6F8E0", VA = "0x180F708E0")]
private static bool GetLegacyFormatMode()
{
return default(bool);
}
// Token: 0x1700010C RID: 268
// (get) Token: 0x06000CFD RID: 3325 RVA: 0x0000B310 File Offset: 0x00009510
[Token(Token = "0x1700010C")]
private static bool LegacyMode
{
[Token(Token = "0x6000CFD")]
[Address(RVA = "0xF71370", Offset = "0xF70370", VA = "0x180F71370")]
get
{
return default(bool);
}
}
/// <summary>Represents the number of ticks in 1 millisecond. This field is constant.</summary>
// Token: 0x0400051D RID: 1309
[Token(Token = "0x400051D")]
public const long TicksPerMillisecond = 10000L;
// Token: 0x0400051E RID: 1310
[Token(Token = "0x400051E")]
private const double MillisecondsPerTick = 0.0001;
/// <summary>Represents the number of ticks in 1 second.</summary>
// Token: 0x0400051F RID: 1311
[Token(Token = "0x400051F")]
public const long TicksPerSecond = 10000000L;
// Token: 0x04000520 RID: 1312
[Token(Token = "0x4000520")]
private const double SecondsPerTick = 1E-07;
/// <summary>Represents the number of ticks in 1 minute. This field is constant.</summary>
// Token: 0x04000521 RID: 1313
[Token(Token = "0x4000521")]
public const long TicksPerMinute = 600000000L;
// Token: 0x04000522 RID: 1314
[Token(Token = "0x4000522")]
private const double MinutesPerTick = 1.6666666666666667E-09;
/// <summary>Represents the number of ticks in 1 hour. This field is constant.</summary>
// Token: 0x04000523 RID: 1315
[Token(Token = "0x4000523")]
public const long TicksPerHour = 36000000000L;
// Token: 0x04000524 RID: 1316
[Token(Token = "0x4000524")]
private const double HoursPerTick = 2.7777777777777777E-11;
/// <summary>Represents the number of ticks in 1 day. This field is constant.</summary>
// Token: 0x04000525 RID: 1317
[Token(Token = "0x4000525")]
public const long TicksPerDay = 864000000000L;
// Token: 0x04000526 RID: 1318
[Token(Token = "0x4000526")]
private const double DaysPerTick = 1.1574074074074074E-12;
// Token: 0x04000527 RID: 1319
[Token(Token = "0x4000527")]
private const int MillisPerSecond = 1000;
// Token: 0x04000528 RID: 1320
[Token(Token = "0x4000528")]
private const int MillisPerMinute = 60000;
// Token: 0x04000529 RID: 1321
[Token(Token = "0x4000529")]
private const int MillisPerHour = 3600000;
// Token: 0x0400052A RID: 1322
[Token(Token = "0x400052A")]
private const int MillisPerDay = 86400000;
// Token: 0x0400052B RID: 1323
[Token(Token = "0x400052B")]
internal const long MaxSeconds = 922337203685L;
// Token: 0x0400052C RID: 1324
[Token(Token = "0x400052C")]
internal const long MinSeconds = -922337203685L;
// Token: 0x0400052D RID: 1325
[Token(Token = "0x400052D")]
internal const long MaxMilliSeconds = 922337203685477L;
// Token: 0x0400052E RID: 1326
[Token(Token = "0x400052E")]
internal const long MinMilliSeconds = -922337203685477L;
// Token: 0x0400052F RID: 1327
[Token(Token = "0x400052F")]
internal const long TicksPerTenthSecond = 1000000L;
/// <summary>Represents the zero <see cref="T:System.TimeSpan" /> value. This field is read-only.</summary>
// Token: 0x04000530 RID: 1328
[Token(Token = "0x4000530")]
public static readonly TimeSpan Zero;
/// <summary>Represents the maximum <see cref="T:System.TimeSpan" /> value. This field is read-only.</summary>
// Token: 0x04000531 RID: 1329
[Token(Token = "0x4000531")]
public static readonly TimeSpan MaxValue;
/// <summary>Represents the minimum <see cref="T:System.TimeSpan" /> value. This field is read-only.</summary>
// Token: 0x04000532 RID: 1330
[Token(Token = "0x4000532")]
public static readonly TimeSpan MinValue;
// Token: 0x04000533 RID: 1331
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000533")]
internal long _ticks;
// Token: 0x04000534 RID: 1332
[Token(Token = "0x4000534")]
private static bool _legacyConfigChecked;
// Token: 0x04000535 RID: 1333
[Token(Token = "0x4000535")]
private static bool _legacyMode;
}
}