Files
2026-04-10 22:50:51 +02:00

794 lines
46 KiB
C#

using System;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System
{
/// <summary>Represents a point in time, typically expressed as a date and time of day, relative to Coordinated Universal Time (UTC).</summary>
// Token: 0x020000D1 RID: 209
[Token(Token = "0x20000D1")]
[Serializable]
[StructLayout(3)]
public struct DateTimeOffset : IComparable, IFormattable, ISerializable, IDeserializationCallback, IComparable<DateTimeOffset>, IEquatable<DateTimeOffset>
{
/// <summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified number of ticks and offset.</summary>
/// <param name="ticks">A date and time expressed as the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 0001.</param>
/// <param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" /> is not specified in whole minutes.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The <see cref="P:System.DateTimeOffset.UtcDateTime" /> property is earlier than <see cref="F:System.DateTimeOffset.MinValue" /> or later than <see cref="F:System.DateTimeOffset.MaxValue" />.
/// -or-
/// <paramref name="ticks" /> is less than <see langword="DateTimeOffset.MinValue.Ticks" /> or greater than <see langword="DateTimeOffset.MaxValue.Ticks" />.
/// -or-
/// <paramref name="Offset" /> s less than -14 hours or greater than 14 hours.</exception>
// Token: 0x0600076B RID: 1899 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600076B")]
[Address(RVA = "0x2A92020", Offset = "0x2A90E20", VA = "0x182A92020")]
public DateTimeOffset(long ticks, TimeSpan offset)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <see cref="T:System.DateTime" /> value.</summary>
/// <param name="dateTime">A date and time.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">The Coordinated Universal Time (UTC) date and time that results from applying the offset is earlier than <see cref="F:System.DateTimeOffset.MinValue" />.
/// -or-
/// The UTC date and time that results from applying the offset is later than <see cref="F:System.DateTimeOffset.MaxValue" />.</exception>
// Token: 0x0600076C RID: 1900 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600076C")]
[Address(RVA = "0x2A92720", Offset = "0x2A91520", VA = "0x182A92720")]
public DateTimeOffset(DateTime dateTime)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <see cref="T:System.DateTime" /> value and offset.</summary>
/// <param name="dateTime">A date and time.</param>
/// <param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="dateTime.Kind" /> equals <see cref="F:System.DateTimeKind.Utc" /> and <paramref name="offset" /> does not equal zero.
/// -or-
/// <paramref name="dateTime.Kind" /> equals <see cref="F:System.DateTimeKind.Local" /> and <paramref name="offset" /> does not equal the offset of the system's local time zone.
/// -or-
/// <paramref name="offset" /> is not specified in whole minutes.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="offset" /> is less than -14 hours or greater than 14 hours.
/// -or-
/// <see cref="P:System.DateTimeOffset.UtcDateTime" /> is less than <see cref="F:System.DateTimeOffset.MinValue" /> or greater than <see cref="F:System.DateTimeOffset.MaxValue" />.</exception>
// Token: 0x0600076D RID: 1901 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600076D")]
[Address(RVA = "0x2A92360", Offset = "0x2A91160", VA = "0x182A92360")]
public DateTimeOffset(DateTime dateTime, TimeSpan offset)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified year, month, day, hour, minute, second, and offset.</summary>
/// <param name="year">The year (1 through 9999).</param>
/// <param name="month">The month (1 through 12).</param>
/// <param name="day">The day (1 through the number of days in <paramref name="month" />).</param>
/// <param name="hour">The hours (0 through 23).</param>
/// <param name="minute">The minutes (0 through 59).</param>
/// <param name="second">The seconds (0 through 59).</param>
/// <param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" /> does not represent whole minutes.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is less than one or greater than 9999.
/// -or-
/// <paramref name="month" /> is less than one or greater than 12.
/// -or-
/// <paramref name="day" /> is less than one or greater than the number of days in <paramref name="month" />.
/// -or-
/// <paramref name="hour" /> is less than zero or greater than 23.
/// -or-
/// <paramref name="minute" /> is less than 0 or greater than 59.
/// -or-
/// <paramref name="second" /> is less than 0 or greater than 59.
/// -or-
/// <paramref name="offset" /> is less than -14 hours or greater than 14 hours.
/// -or-
/// The <see cref="P:System.DateTimeOffset.UtcDateTime" /> property is earlier than <see cref="F:System.DateTimeOffset.MinValue" /> or later than <see cref="F:System.DateTimeOffset.MaxValue" />.</exception>
// Token: 0x0600076E RID: 1902 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600076E")]
[Address(RVA = "0x2A92110", Offset = "0x2A90F10", VA = "0x182A92110")]
public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, TimeSpan offset)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified year, month, day, hour, minute, second, millisecond, and offset.</summary>
/// <param name="year">The year (1 through 9999).</param>
/// <param name="month">The month (1 through 12).</param>
/// <param name="day">The day (1 through the number of days in <paramref name="month" />).</param>
/// <param name="hour">The hours (0 through 23).</param>
/// <param name="minute">The minutes (0 through 59).</param>
/// <param name="second">The seconds (0 through 59).</param>
/// <param name="millisecond">The milliseconds (0 through 999).</param>
/// <param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" /> does not represent whole minutes.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is less than one or greater than 9999.
/// -or-
/// <paramref name="month" /> is less than one or greater than 12.
/// -or-
/// <paramref name="day" /> is less than one or greater than the number of days in <paramref name="month" />.
/// -or-
/// <paramref name="hour" /> is less than zero or greater than 23.
/// -or-
/// <paramref name="minute" /> is less than 0 or greater than 59.
/// -or-
/// <paramref name="second" /> is less than 0 or greater than 59.
/// -or-
/// <paramref name="millisecond" /> is less than 0 or greater than 999.
/// -or-
/// <paramref name="offset" /> is less than -14 or greater than 14.
/// -or-
/// The <see cref="P:System.DateTimeOffset.UtcDateTime" /> property is earlier than <see cref="F:System.DateTimeOffset.MinValue" /> or later than <see cref="F:System.DateTimeOffset.MaxValue" />.</exception>
// Token: 0x0600076F RID: 1903 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600076F")]
[Address(RVA = "0x2A92630", Offset = "0x2A91430", VA = "0x182A92630")]
public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, TimeSpan offset)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified year, month, day, hour, minute, second, millisecond, and offset of a specified calendar.</summary>
/// <param name="year">The year.</param>
/// <param name="month">The month (1 through 12).</param>
/// <param name="day">The day (1 through the number of days in <paramref name="month" />).</param>
/// <param name="hour">The hours (0 through 23).</param>
/// <param name="minute">The minutes (0 through 59).</param>
/// <param name="second">The seconds (0 through 59).</param>
/// <param name="millisecond">The milliseconds (0 through 999).</param>
/// <param name="calendar">The calendar that is used to interpret <paramref name="year" />, <paramref name="month" />, and <paramref name="day" />.</param>
/// <param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="offset" /> does not represent whole minutes.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="calendar" /> cannot be <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is less than the <paramref name="calendar" /> parameter's <see langword="MinSupportedDateTime.Year" /> or greater than <see langword="MaxSupportedDateTime.Year" />.
/// -or-
/// <paramref name="month" /> is either less than or greater than the number of months in <paramref name="year" /> in the <paramref name="calendar" />.
/// -or-
/// <paramref name="day" /> is less than one or greater than the number of days in <paramref name="month" />.
/// -or-
/// <paramref name="hour" /> is less than zero or greater than 23.
/// -or-
/// <paramref name="minute" /> is less than 0 or greater than 59.
/// -or-
/// <paramref name="second" /> is less than 0 or greater than 59.
/// -or-
/// <paramref name="millisecond" /> is less than 0 or greater than 999.
/// -or-
/// <paramref name="offset" /> is less than -14 hours or greater than 14 hours.
/// -or-
/// The <paramref name="year" />, <paramref name="month" />, and <paramref name="day" /> parameters cannot be represented as a date and time value.
/// -or-
/// The <see cref="P:System.DateTimeOffset.UtcDateTime" /> property is earlier than <see cref="F:System.DateTimeOffset.MinValue" /> or later than <see cref="F:System.DateTimeOffset.MaxValue" />.</exception>
// Token: 0x06000770 RID: 1904 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000770")]
[Address(RVA = "0x2A92530", Offset = "0x2A91330", VA = "0x182A92530")]
public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, Calendar calendar, TimeSpan offset)
{
}
/// <summary>Gets a <see cref="T:System.DateTimeOffset" /> object whose date and time are set to the current Coordinated Universal Time (UTC) date and time and whose offset is <see cref="F:System.TimeSpan.Zero" />.</summary>
/// <returns>An object whose date and time is the current Coordinated Universal Time (UTC) and whose offset is <see cref="F:System.TimeSpan.Zero" />.</returns>
// Token: 0x170000B3 RID: 179
// (get) Token: 0x06000771 RID: 1905 RVA: 0x00006BE8 File Offset: 0x00004DE8
[Token(Token = "0x170000B3")]
public static DateTimeOffset UtcNow
{
[Token(Token = "0x6000771")]
[Address(RVA = "0x2A92C30", Offset = "0x2A91A30", VA = "0x182A92C30")]
get
{
return default(DateTimeOffset);
}
}
/// <summary>Gets a <see cref="T:System.DateTime" /> value that represents the date and time of the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The date and time of the current <see cref="T:System.DateTimeOffset" /> object.</returns>
// Token: 0x170000B4 RID: 180
// (get) Token: 0x06000772 RID: 1906 RVA: 0x00006C00 File Offset: 0x00004E00
[Token(Token = "0x170000B4")]
public DateTime DateTime
{
[Token(Token = "0x6000772")]
[Address(RVA = "0x2A92910", Offset = "0x2A91710", VA = "0x182A92910")]
get
{
return default(DateTime);
}
}
/// <summary>Gets a <see cref="T:System.DateTime" /> value that represents the Coordinated Universal Time (UTC) date and time of the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The Coordinated Universal Time (UTC) date and time of the current <see cref="T:System.DateTimeOffset" /> object.</returns>
// Token: 0x170000B5 RID: 181
// (get) Token: 0x06000773 RID: 1907 RVA: 0x00006C18 File Offset: 0x00004E18
[Token(Token = "0x170000B5")]
public DateTime UtcDateTime
{
[Token(Token = "0x6000773")]
[Address(RVA = "0x2A92BB0", Offset = "0x2A919B0", VA = "0x182A92BB0")]
get
{
return default(DateTime);
}
}
/// <summary>Gets a <see cref="T:System.DateTime" /> value that represents the local date and time of the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The local date and time of the current <see cref="T:System.DateTimeOffset" /> object.</returns>
// Token: 0x170000B6 RID: 182
// (get) Token: 0x06000774 RID: 1908 RVA: 0x00006C30 File Offset: 0x00004E30
[Token(Token = "0x170000B6")]
public DateTime LocalDateTime
{
[Token(Token = "0x6000774")]
[Address(RVA = "0x2A929B0", Offset = "0x2A917B0", VA = "0x182A929B0")]
get
{
return default(DateTime);
}
}
// Token: 0x170000B7 RID: 183
// (get) Token: 0x06000775 RID: 1909 RVA: 0x00006C48 File Offset: 0x00004E48
[Token(Token = "0x170000B7")]
private DateTime ClockDateTime
{
[Token(Token = "0x6000775")]
[Address(RVA = "0x2A927E0", Offset = "0x2A915E0", VA = "0x182A927E0")]
get
{
return default(DateTime);
}
}
/// <summary>Gets the day of the month represented by the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The day component of the current <see cref="T:System.DateTimeOffset" /> object, expressed as a value between 1 and 31.</returns>
// Token: 0x170000B8 RID: 184
// (get) Token: 0x06000776 RID: 1910 RVA: 0x00006C60 File Offset: 0x00004E60
[Token(Token = "0x170000B8")]
public int Day
{
[Token(Token = "0x6000776")]
[Address(RVA = "0x2A92920", Offset = "0x2A91720", VA = "0x182A92920")]
get
{
return 0;
}
}
/// <summary>Gets the hour component of the time represented by the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The hour component of the current <see cref="T:System.DateTimeOffset" /> object. This property uses a 24-hour clock; the value ranges from 0 to 23.</returns>
// Token: 0x170000B9 RID: 185
// (get) Token: 0x06000777 RID: 1911 RVA: 0x00006C78 File Offset: 0x00004E78
[Token(Token = "0x170000B9")]
public int Hour
{
[Token(Token = "0x6000777")]
[Address(RVA = "0x2A92950", Offset = "0x2A91750", VA = "0x182A92950")]
get
{
return 0;
}
}
/// <summary>Gets the millisecond component of the time represented by the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The millisecond component of the current <see cref="T:System.DateTimeOffset" /> object, expressed as an integer between 0 and 999.</returns>
// Token: 0x170000BA RID: 186
// (get) Token: 0x06000778 RID: 1912 RVA: 0x00006C90 File Offset: 0x00004E90
[Token(Token = "0x170000BA")]
public int Millisecond
{
[Token(Token = "0x6000778")]
[Address(RVA = "0x2A929E0", Offset = "0x2A917E0", VA = "0x182A929E0")]
get
{
return 0;
}
}
/// <summary>Gets the minute component of the time represented by the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The minute component of the current <see cref="T:System.DateTimeOffset" /> object, expressed as an integer between 0 and 59.</returns>
// Token: 0x170000BB RID: 187
// (get) Token: 0x06000779 RID: 1913 RVA: 0x00006CA8 File Offset: 0x00004EA8
[Token(Token = "0x170000BB")]
public int Minute
{
[Token(Token = "0x6000779")]
[Address(RVA = "0x2A92A40", Offset = "0x2A91840", VA = "0x182A92A40")]
get
{
return 0;
}
}
/// <summary>Gets the month component of the date represented by the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The month component of the current <see cref="T:System.DateTimeOffset" /> object, expressed as an integer between 1 and 12.</returns>
// Token: 0x170000BC RID: 188
// (get) Token: 0x0600077A RID: 1914 RVA: 0x00006CC0 File Offset: 0x00004EC0
[Token(Token = "0x170000BC")]
public int Month
{
[Token(Token = "0x600077A")]
[Address(RVA = "0x2A92AA0", Offset = "0x2A918A0", VA = "0x182A92AA0")]
get
{
return 0;
}
}
/// <summary>Gets the time's offset from Coordinated Universal Time (UTC).</summary>
/// <returns>The difference between the current <see cref="T:System.DateTimeOffset" /> object's time value and Coordinated Universal Time (UTC).</returns>
// Token: 0x170000BD RID: 189
// (get) Token: 0x0600077B RID: 1915 RVA: 0x00006CD8 File Offset: 0x00004ED8
[Token(Token = "0x170000BD")]
public TimeSpan Offset
{
[Token(Token = "0x600077B")]
[Address(RVA = "0x2A92AD0", Offset = "0x2A918D0", VA = "0x182A92AD0")]
get
{
return default(TimeSpan);
}
}
/// <summary>Gets the second component of the clock time represented by the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The second component of the <see cref="T:System.DateTimeOffset" /> object, expressed as an integer value between 0 and 59.</returns>
// Token: 0x170000BE RID: 190
// (get) Token: 0x0600077C RID: 1916 RVA: 0x00006CF0 File Offset: 0x00004EF0
[Token(Token = "0x170000BE")]
public int Second
{
[Token(Token = "0x600077C")]
[Address(RVA = "0x2A92B00", Offset = "0x2A91900", VA = "0x182A92B00")]
get
{
return 0;
}
}
/// <summary>Gets the number of ticks that represents the date and time of the current <see cref="T:System.DateTimeOffset" /> object in clock time.</summary>
/// <returns>The number of ticks in the <see cref="T:System.DateTimeOffset" /> object's clock time.</returns>
// Token: 0x170000BF RID: 191
// (get) Token: 0x0600077D RID: 1917 RVA: 0x00006D08 File Offset: 0x00004F08
[Token(Token = "0x170000BF")]
public long Ticks
{
[Token(Token = "0x600077D")]
[Address(RVA = "0x2A92B60", Offset = "0x2A91960", VA = "0x182A92B60")]
get
{
return 0L;
}
}
/// <summary>Gets the time of day for the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The time interval of the current date that has elapsed since midnight.</returns>
// Token: 0x170000C0 RID: 192
// (get) Token: 0x0600077E RID: 1918 RVA: 0x00006D20 File Offset: 0x00004F20
[Token(Token = "0x170000C0")]
public TimeSpan TimeOfDay
{
[Token(Token = "0x600077E")]
[Address(RVA = "0x2A92B80", Offset = "0x2A91980", VA = "0x182A92B80")]
get
{
return default(TimeSpan);
}
}
/// <summary>Gets the year component of the date represented by the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>The year component of the current <see cref="T:System.DateTimeOffset" /> object, expressed as an integer value between 0 and 9999.</returns>
// Token: 0x170000C1 RID: 193
// (get) Token: 0x0600077F RID: 1919 RVA: 0x00006D38 File Offset: 0x00004F38
[Token(Token = "0x170000C1")]
public int Year
{
[Token(Token = "0x600077F")]
[Address(RVA = "0x2A92CF0", Offset = "0x2A91AF0", VA = "0x182A92CF0")]
get
{
return 0;
}
}
/// <summary>Compares the value of the current <see cref="T:System.DateTimeOffset" /> object with another object of the same type.</summary>
/// <param name="obj">The object to compare with the current <see cref="T:System.DateTimeOffset" /> object.</param>
/// <returns>A 32-bit signed integer that indicates whether the current <see cref="T:System.DateTimeOffset" /> object is less than, equal to, or greater than <paramref name="obj" />. The return values of the method are interpreted as follows:
/// Return Value
///
/// Description
///
/// Less than zero
///
/// The current <see cref="T:System.DateTimeOffset" /> object is less than (earlier than) <paramref name="obj" />.
///
/// Zero
///
/// The current <see cref="T:System.DateTimeOffset" /> object is equal to (the same point in time as) <paramref name="obj" />.
///
/// Greater than zero
///
/// The current <see cref="T:System.DateTimeOffset" /> object is greater than (later than) <paramref name="obj" />.</returns>
// Token: 0x06000780 RID: 1920 RVA: 0x00006D50 File Offset: 0x00004F50
[Token(Token = "0x6000780")]
[Address(RVA = "0x2A91080", Offset = "0x2A8FE80", VA = "0x182A91080", Slot = "4")]
int IComparable.CompareTo(object obj)
{
return 0;
}
/// <summary>Compares the current <see cref="T:System.DateTimeOffset" /> object to a specified <see cref="T:System.DateTimeOffset" /> object and indicates whether the current object is earlier than, the same as, or later than the second <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <param name="other">An object to compare with the current <see cref="T:System.DateTimeOffset" /> object.</param>
/// <returns>A signed integer that indicates the relationship between the current <see cref="T:System.DateTimeOffset" /> object and <paramref name="other" />, as the following table shows.
/// Return Value
///
/// Description
///
/// Less than zero
///
/// The current <see cref="T:System.DateTimeOffset" /> object is earlier than <paramref name="other" />.
///
/// Zero
///
/// The current <see cref="T:System.DateTimeOffset" /> object is the same as <paramref name="other" />.
///
/// Greater than zero.
///
/// The current <see cref="T:System.DateTimeOffset" /> object is later than <paramref name="other" />.</returns>
// Token: 0x06000781 RID: 1921 RVA: 0x00006D68 File Offset: 0x00004F68
[Token(Token = "0x6000781")]
[Address(RVA = "0x2A905C0", Offset = "0x2A8F3C0", VA = "0x182A905C0", Slot = "8")]
public int CompareTo(DateTimeOffset other)
{
return 0;
}
/// <summary>Determines whether a <see cref="T:System.DateTimeOffset" /> object represents the same point in time as a specified object.</summary>
/// <param name="obj">The object to compare to the current <see cref="T:System.DateTimeOffset" /> object.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="obj" /> parameter is a <see cref="T:System.DateTimeOffset" /> object and represents the same point in time as the current <see cref="T:System.DateTimeOffset" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x06000782 RID: 1922 RVA: 0x00006D80 File Offset: 0x00004F80
[Token(Token = "0x6000782")]
[Address(RVA = "0x2A906C0", Offset = "0x2A8F4C0", VA = "0x182A906C0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Determines whether the current <see cref="T:System.DateTimeOffset" /> object represents the same point in time as a specified <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <param name="other">An object to compare to the current <see cref="T:System.DateTimeOffset" /> object.</param>
/// <returns>
/// <see langword="true" /> if both <see cref="T:System.DateTimeOffset" /> objects have the same <see cref="P:System.DateTimeOffset.UtcDateTime" /> value; otherwise, <see langword="false" />.</returns>
// Token: 0x06000783 RID: 1923 RVA: 0x00006D98 File Offset: 0x00004F98
[Token(Token = "0x6000783")]
[Address(RVA = "0x2A90680", Offset = "0x2A8F480", VA = "0x182A90680", Slot = "9")]
public bool Equals(DateTimeOffset other)
{
return default(bool);
}
/// <summary>Runs when the deserialization of an object has been completed.</summary>
/// <param name="sender">The object that initiated the callback. The functionality for this parameter is not currently implemented.</param>
// Token: 0x06000784 RID: 1924 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000784")]
[Address(RVA = "0x2A91220", Offset = "0x2A90020", VA = "0x182A91220", Slot = "7")]
void IDeserializationCallback.OnDeserialization(object sender)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the data required to serialize the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <param name="info">The object to populate with data.</param>
/// <param name="context">The destination for this serialization (see <see cref="T:System.Runtime.Serialization.StreamingContext" />).</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is <see langword="null" />.</exception>
// Token: 0x06000785 RID: 1925 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000785")]
[Address(RVA = "0x2A91340", Offset = "0x2A90140", VA = "0x182A91340", Slot = "6")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06000786 RID: 1926 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000786")]
[Address(RVA = "0x2A92210", Offset = "0x2A91010", VA = "0x182A92210")]
private DateTimeOffset(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Returns the hash code for the current <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06000787 RID: 1927 RVA: 0x00006DB0 File Offset: 0x00004FB0
[Token(Token = "0x6000787")]
[Address(RVA = "0x2A907E0", Offset = "0x2A8F5E0", VA = "0x182A907E0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Converts the specified string representation of a date and time to its <see cref="T:System.DateTimeOffset" /> equivalent using the specified culture-specific format information.</summary>
/// <param name="input">A string that contains a date and time to convert.</param>
/// <param name="formatProvider">An object that provides culture-specific format information about <paramref name="input" />.</param>
/// <returns>An object that is equivalent to the date and time that is contained in <paramref name="input" />, as specified by <paramref name="formatProvider" />.</returns>
/// <exception cref="T:System.ArgumentException">The offset is greater than 14 hours or less than -14 hours.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="input" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="input" /> does not contain a valid string representation of a date and time.
/// -or-
/// <paramref name="input" /> contains the string representation of an offset value without a date or time.</exception>
// Token: 0x06000788 RID: 1928 RVA: 0x00006DC8 File Offset: 0x00004FC8
[Token(Token = "0x6000788")]
[Address(RVA = "0x2A90C50", Offset = "0x2A8FA50", VA = "0x182A90C50")]
public static DateTimeOffset Parse(string input, IFormatProvider formatProvider)
{
return default(DateTimeOffset);
}
/// <summary>Converts the specified string representation of a date and time to its <see cref="T:System.DateTimeOffset" /> equivalent using the specified culture-specific format information and formatting style.</summary>
/// <param name="input">A string that contains a date and time to convert.</param>
/// <param name="formatProvider">An object that provides culture-specific format information about <paramref name="input" />.</param>
/// <param name="styles">A bitwise combination of enumeration values that indicates the permitted format of <paramref name="input" />. A typical value to specify is <see cref="F:System.Globalization.DateTimeStyles.None" />.</param>
/// <returns>An object that is equivalent to the date and time that is contained in <paramref name="input" /> as specified by <paramref name="formatProvider" /> and <paramref name="styles" />.</returns>
/// <exception cref="T:System.ArgumentException">The offset is greater than 14 hours or less than -14 hours.
/// -or-
/// <paramref name="styles" /> is not a valid <see cref="T:System.Globalization.DateTimeStyles" /> value.
/// -or-
/// <paramref name="styles" /> includes an unsupported <see cref="T:System.Globalization.DateTimeStyles" /> value.
/// -or-
/// <paramref name="styles" /> includes <see cref="T:System.Globalization.DateTimeStyles" /> values that cannot be used together.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="input" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="input" /> does not contain a valid string representation of a date and time.
/// -or-
/// <paramref name="input" /> contains the string representation of an offset value without a date or time.</exception>
// Token: 0x06000789 RID: 1929 RVA: 0x00006DE0 File Offset: 0x00004FE0
[Token(Token = "0x6000789")]
[Address(RVA = "0x2A90E90", Offset = "0x2A8FC90", VA = "0x182A90E90")]
public static DateTimeOffset Parse(string input, IFormatProvider formatProvider, DateTimeStyles styles)
{
return default(DateTimeOffset);
}
/// <summary>Converts the specified string representation of a date and time to its <see cref="T:System.DateTimeOffset" /> equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly.</summary>
/// <param name="input">A string that contains a date and time to convert.</param>
/// <param name="format">A format specifier that defines the expected format of <paramref name="input" />.</param>
/// <param name="formatProvider">An object that supplies culture-specific formatting information about <paramref name="input" />.</param>
/// <param name="styles">A bitwise combination of enumeration values that indicates the permitted format of <paramref name="input" />.</param>
/// <returns>An object that is equivalent to the date and time that is contained in the <paramref name="input" /> parameter, as specified by the <paramref name="format" />, <paramref name="formatProvider" />, and <paramref name="styles" /> parameters.</returns>
/// <exception cref="T:System.ArgumentException">The offset is greater than 14 hours or less than -14 hours.
/// -or-
/// The <paramref name="styles" /> parameter includes an unsupported value.
/// -or-
/// The <paramref name="styles" /> parameter contains <see cref="T:System.Globalization.DateTimeStyles" /> values that cannot be used together.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="input" /> is <see langword="null" />.
/// -or-
/// <paramref name="format" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="input" /> is an empty string ("").
/// -or-
/// <paramref name="input" /> does not contain a valid string representation of a date and time.
/// -or-
/// <paramref name="format" /> is an empty string.
/// -or-
/// The hour component and the AM/PM designator in <paramref name="input" /> do not agree.</exception>
// Token: 0x0600078A RID: 1930 RVA: 0x00006DF8 File Offset: 0x00004FF8
[Token(Token = "0x600078A")]
[Address(RVA = "0x2A90810", Offset = "0x2A8F610", VA = "0x182A90810")]
public static DateTimeOffset ParseExact(string input, string format, IFormatProvider formatProvider, DateTimeStyles styles)
{
return default(DateTimeOffset);
}
/// <summary>Converts the specified string representation of a date and time to its <see cref="T:System.DateTimeOffset" /> equivalent using the specified formats, culture-specific format information, and style. The format of the string representation must match one of the specified formats exactly.</summary>
/// <param name="input">A string that contains a date and time to convert.</param>
/// <param name="formats">An array of format specifiers that define the expected formats of <paramref name="input" />.</param>
/// <param name="formatProvider">An object that supplies culture-specific formatting information about <paramref name="input" />.</param>
/// <param name="styles">A bitwise combination of enumeration values that indicates the permitted format of <paramref name="input" />.</param>
/// <returns>An object that is equivalent to the date and time that is contained in the <paramref name="input" /> parameter, as specified by the <paramref name="formats" />, <paramref name="formatProvider" />, and <paramref name="styles" /> parameters.</returns>
/// <exception cref="T:System.ArgumentException">The offset is greater than 14 hours or less than -14 hours.
/// -or-
/// <paramref name="styles" /> includes an unsupported value.
/// -or-
/// The <paramref name="styles" /> parameter contains <see cref="T:System.Globalization.DateTimeStyles" /> values that cannot be used together.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="input" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="input" /> is an empty string ("").
/// -or-
/// <paramref name="input" /> does not contain a valid string representation of a date and time.
/// -or-
/// No element of <paramref name="formats" /> contains a valid format specifier.
/// -or-
/// The hour component and the AM/PM designator in <paramref name="input" /> do not agree.</exception>
// Token: 0x0600078B RID: 1931 RVA: 0x00006E10 File Offset: 0x00005010
[Token(Token = "0x600078B")]
[Address(RVA = "0x2A90A30", Offset = "0x2A8F830", VA = "0x182A90A30")]
public static DateTimeOffset ParseExact(string input, string[] formats, IFormatProvider formatProvider, DateTimeStyles styles)
{
return default(DateTimeOffset);
}
/// <summary>Converts the value of the current <see cref="T:System.DateTimeOffset" /> object to its equivalent string representation.</summary>
/// <returns>A string representation of a <see cref="T:System.DateTimeOffset" /> object that includes the offset appended at the end of the string.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The date and time is outside the range of dates supported by the calendar used by the current culture.</exception>
// Token: 0x0600078C RID: 1932 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600078C")]
[Address(RVA = "0x2A914C0", Offset = "0x2A902C0", VA = "0x182A914C0", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Converts the value of the current <see cref="T:System.DateTimeOffset" /> object to its equivalent string representation using the specified culture-specific formatting information.</summary>
/// <param name="formatProvider">An object that supplies culture-specific formatting information.</param>
/// <returns>A string representation of the value of the current <see cref="T:System.DateTimeOffset" /> object, as specified by <paramref name="formatProvider" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The date and time is outside the range of dates supported by the calendar used by <paramref name="formatProvider" />.</exception>
// Token: 0x0600078D RID: 1933 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600078D")]
[Address(RVA = "0x2A913E0", Offset = "0x2A901E0", VA = "0x182A913E0")]
public string ToString(IFormatProvider formatProvider)
{
return null;
}
/// <summary>Converts the value of the current <see cref="T:System.DateTimeOffset" /> object to its equivalent string representation using the specified format and culture-specific format information.</summary>
/// <param name="format">A format string.</param>
/// <param name="formatProvider">An object that supplies culture-specific formatting information.</param>
/// <returns>A string representation of the value of the current <see cref="T:System.DateTimeOffset" /> object, as specified by <paramref name="format" /> and <paramref name="provider" />.</returns>
/// <exception cref="T:System.FormatException">The length of <paramref name="format" /> is one, and it is not one of the standard format specifier characters defined for <see cref="T:System.Globalization.DateTimeFormatInfo" />.
/// -or-
/// <paramref name="format" /> does not contain a valid custom format pattern.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The date and time is outside the range of dates supported by the calendar used by <paramref name="formatProvider" />.</exception>
// Token: 0x0600078E RID: 1934 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600078E")]
[Address(RVA = "0x2A915A0", Offset = "0x2A903A0", VA = "0x182A915A0", Slot = "5")]
public string ToString(string format, IFormatProvider formatProvider)
{
return null;
}
/// <summary>Converts the current <see cref="T:System.DateTimeOffset" /> object to a <see cref="T:System.DateTimeOffset" /> value that represents the Coordinated Universal Time (UTC).</summary>
/// <returns>An object that represents the date and time of the current <see cref="T:System.DateTimeOffset" /> object converted to Coordinated Universal Time (UTC).</returns>
// Token: 0x0600078F RID: 1935 RVA: 0x00006E28 File Offset: 0x00005028
[Token(Token = "0x600078F")]
[Address(RVA = "0x2A91690", Offset = "0x2A90490", VA = "0x182A91690")]
public DateTimeOffset ToUniversalTime()
{
return default(DateTimeOffset);
}
/// <summary>Tries to convert a specified string representation of a date and time to its <see cref="T:System.DateTimeOffset" /> equivalent, and returns a value that indicates whether the conversion succeeded.</summary>
/// <param name="input">A string that contains a date and time to convert.</param>
/// <param name="formatProvider">An object that provides culture-specific formatting information about <paramref name="input" />.</param>
/// <param name="styles">A bitwise combination of enumeration values that indicates the permitted format of <paramref name="input" />.</param>
/// <param name="result">When the method returns, contains the <see cref="T:System.DateTimeOffset" /> value equivalent to the date and time of <paramref name="input" />, if the conversion succeeded, or <see cref="F:System.DateTimeOffset.MinValue" />, if the conversion failed. The conversion fails if the <paramref name="input" /> parameter is <see langword="null" /> or does not contain a valid string representation of a date and time. This parameter is passed uninitialized.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="input" /> parameter is successfully converted; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="styles" /> includes an undefined <see cref="T:System.Globalization.DateTimeStyles" /> value.
/// -or-
/// <see cref="F:System.Globalization.DateTimeStyles.NoCurrentDateDefault" /> is not supported.
/// -or-
/// <paramref name="styles" /> includes mutually exclusive <see cref="T:System.Globalization.DateTimeStyles" /> values.</exception>
// Token: 0x06000790 RID: 1936 RVA: 0x00006E40 File Offset: 0x00005040
[Token(Token = "0x6000790")]
[Address(RVA = "0x2A91930", Offset = "0x2A90730", VA = "0x182A91930")]
public static bool TryParse(string input, IFormatProvider formatProvider, DateTimeStyles styles, out DateTimeOffset result)
{
return default(bool);
}
/// <summary>Converts the specified string representation of a date and time to its <see cref="T:System.DateTimeOffset" /> equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly.</summary>
/// <param name="input">A string that contains a date and time to convert.</param>
/// <param name="format">A format specifier that defines the required format of <paramref name="input" />.</param>
/// <param name="formatProvider">An object that supplies culture-specific formatting information about <paramref name="input" />.</param>
/// <param name="styles">A bitwise combination of enumeration values that indicates the permitted format of input. A typical value to specify is <see langword="None" />.</param>
/// <param name="result">When the method returns, contains the <see cref="T:System.DateTimeOffset" /> equivalent to the date and time of <paramref name="input" />, if the conversion succeeded, or <see cref="F:System.DateTimeOffset.MinValue" />, if the conversion failed. The conversion fails if the <paramref name="input" /> parameter is <see langword="null" />, or does not contain a valid string representation of a date and time in the expected format defined by <paramref name="format" /> and provider. This parameter is passed uninitialized.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="input" /> parameter is successfully converted; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="styles" /> includes an undefined <see cref="T:System.Globalization.DateTimeStyles" /> value.
/// -or-
/// <see cref="F:System.Globalization.DateTimeStyles.NoCurrentDateDefault" /> is not supported.
/// -or-
/// <paramref name="styles" /> includes mutually exclusive <see cref="T:System.Globalization.DateTimeStyles" /> values.</exception>
// Token: 0x06000791 RID: 1937 RVA: 0x00006E58 File Offset: 0x00005058
[Token(Token = "0x6000791")]
[Address(RVA = "0x2A916D0", Offset = "0x2A904D0", VA = "0x182A916D0")]
public static bool TryParseExact(string input, string format, IFormatProvider formatProvider, DateTimeStyles styles, out DateTimeOffset result)
{
return default(bool);
}
// Token: 0x06000792 RID: 1938 RVA: 0x00006E70 File Offset: 0x00005070
[Token(Token = "0x6000792")]
[Address(RVA = "0x2A91C40", Offset = "0x2A90A40", VA = "0x182A91C40")]
private static short ValidateOffset(TimeSpan offset)
{
return 0;
}
// Token: 0x06000793 RID: 1939 RVA: 0x00006E88 File Offset: 0x00005088
[Token(Token = "0x6000793")]
[Address(RVA = "0x2A91B80", Offset = "0x2A90980", VA = "0x182A91B80")]
private static DateTime ValidateDate(DateTime dateTime, TimeSpan offset)
{
return default(DateTime);
}
// Token: 0x06000794 RID: 1940 RVA: 0x00006EA0 File Offset: 0x000050A0
[Token(Token = "0x6000794")]
[Address(RVA = "0x2A91D50", Offset = "0x2A90B50", VA = "0x182A91D50")]
private static DateTimeStyles ValidateStyles(DateTimeStyles style, string parameterName)
{
return DateTimeStyles.None;
}
/// <summary>Defines an implicit conversion of a <see cref="T:System.DateTime" /> object to a <see cref="T:System.DateTimeOffset" /> object.</summary>
/// <param name="dateTime">The object to convert.</param>
/// <returns>The converted object.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The Coordinated Universal Time (UTC) date and time that results from applying the offset is earlier than <see cref="F:System.DateTimeOffset.MinValue" />.
/// -or-
/// The UTC date and time that results from applying the offset is later than <see cref="F:System.DateTimeOffset.MaxValue" />.</exception>
// Token: 0x06000795 RID: 1941 RVA: 0x00006EB8 File Offset: 0x000050B8
[Token(Token = "0x6000795")]
[Address(RVA = "0x2A92DB0", Offset = "0x2A91BB0", VA = "0x182A92DB0")]
public static implicit operator DateTimeOffset(DateTime dateTime)
{
return default(DateTimeOffset);
}
/// <summary>Subtracts one <see cref="T:System.DateTimeOffset" /> object from another and yields a time interval.</summary>
/// <param name="left">The minuend.</param>
/// <param name="right">The subtrahend.</param>
/// <returns>An object that represents the difference between <paramref name="left" /> and <paramref name="right" />.</returns>
// Token: 0x06000796 RID: 1942 RVA: 0x00006ED0 File Offset: 0x000050D0
[Token(Token = "0x6000796")]
[Address(RVA = "0x2A92DE0", Offset = "0x2A91BE0", VA = "0x182A92DE0")]
public static TimeSpan operator -(DateTimeOffset left, DateTimeOffset right)
{
return default(TimeSpan);
}
/// <summary>Determines whether two specified <see cref="T:System.DateTimeOffset" /> objects represent the same point in time.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if both <see cref="T:System.DateTimeOffset" /> objects have the same <see cref="P:System.DateTimeOffset.UtcDateTime" /> value; otherwise, <see langword="false" />.</returns>
// Token: 0x06000797 RID: 1943 RVA: 0x00006EE8 File Offset: 0x000050E8
[Token(Token = "0x6000797")]
[Address(RVA = "0x2A92D20", Offset = "0x2A91B20", VA = "0x182A92D20")]
public static bool operator ==(DateTimeOffset left, DateTimeOffset right)
{
return default(bool);
}
/// <summary>Represents the earliest possible <see cref="T:System.DateTimeOffset" /> value. This field is read-only.</summary>
// Token: 0x04000312 RID: 786
[Token(Token = "0x4000312")]
public static readonly DateTimeOffset MinValue;
/// <summary>Represents the greatest possible value of <see cref="T:System.DateTimeOffset" />. This field is read-only.</summary>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <see cref="F:System.DateTime.MaxValue" /> is outside the range of the current or specified culture's default calendar.</exception>
// Token: 0x04000313 RID: 787
[Token(Token = "0x4000313")]
public static readonly DateTimeOffset MaxValue;
// Token: 0x04000314 RID: 788
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000314")]
private DateTime m_dateTime;
// Token: 0x04000315 RID: 789
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x4000315")]
private short m_offsetMinutes;
}
}