using System; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; using Cpp2IlInjected; namespace System.Data.SqlTypes { /// Represents the date and time data ranging in value from January 1, 1753 to December 31, 9999 to an accuracy of 3.33 milliseconds to be stored in or retrieved from a database. The structure has a different underlying data structure from its corresponding .NET Framework type, , which can represent any time between 12:00:00 AM 1/1/0001 and 11:59:59 PM 12/31/9999, to the accuracy of 100 nanoseconds. actually stores the relative difference to 00:00:00 AM 1/1/1900. Therefore, a conversion from "00:00:00 AM 1/1/1900" to an integer will return 0. // Token: 0x020000A5 RID: 165 [Token(Token = "0x20000A5")] [XmlSchemaProvider("GetXsdType")] [Serializable] public struct SqlDateTime : INullable, IComparable, IXmlSerializable { // Token: 0x0600095D RID: 2397 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x600095D")] [Address(RVA = "0x9FDA10", Offset = "0x9FCA10", VA = "0x1809FDA10")] private SqlDateTime(bool fNull) { } /// Initializes a new instance of the structure using the specified value. /// A structure. // Token: 0x0600095E RID: 2398 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x600095E")] [Address(RVA = "0x9FDB60", Offset = "0x9FCB60", VA = "0x1809FDB60")] public SqlDateTime(DateTime value) { } /// Initializes a new instance of the structure using the supplied parameters. /// An integer value that represents the date as ticks. /// An integer value that represents the time as ticks. // Token: 0x0600095F RID: 2399 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x600095F")] [Address(RVA = "0x9FDA20", Offset = "0x9FCA20", VA = "0x1809FDA20")] public SqlDateTime(int dayTicks, int timeTicks) { } /// Indicates whether this structure is null. /// /// if null. Otherwise, . // Token: 0x1700017E RID: 382 // (get) Token: 0x06000960 RID: 2400 RVA: 0x00005504 File Offset: 0x00003704 [Token(Token = "0x1700017E")] public bool IsNull { [Token(Token = "0x6000960")] [Address(RVA = "0x8BD410", Offset = "0x8BC410", VA = "0x1808BD410", Slot = "4")] get { return default(bool); } } // Token: 0x06000961 RID: 2401 RVA: 0x0000551C File Offset: 0x0000371C [Token(Token = "0x6000961")] [Address(RVA = "0x9FD290", Offset = "0x9FC290", VA = "0x1809FD290")] private static TimeSpan ToTimeSpan(SqlDateTime value) { return default(TimeSpan); } // Token: 0x06000962 RID: 2402 RVA: 0x00005534 File Offset: 0x00003734 [Token(Token = "0x6000962")] [Address(RVA = "0x9FD0C0", Offset = "0x9FC0C0", VA = "0x1809FD0C0")] private static DateTime ToDateTime(SqlDateTime value) { return default(DateTime); } // Token: 0x06000963 RID: 2403 RVA: 0x0000554C File Offset: 0x0000374C [Token(Token = "0x6000963")] [Address(RVA = "0x9FC920", Offset = "0x9FB920", VA = "0x1809FC920")] private static SqlDateTime FromTimeSpan(TimeSpan value) { return default(SqlDateTime); } // Token: 0x06000964 RID: 2404 RVA: 0x00005564 File Offset: 0x00003764 [Token(Token = "0x6000964")] [Address(RVA = "0x9FC7F0", Offset = "0x9FB7F0", VA = "0x1809FC7F0")] private static SqlDateTime FromDateTime(DateTime value) { return default(SqlDateTime); } /// Gets the value of the structure. This property is read-only. /// The value of this structure. /// The exception that is thrown when the property of a structure is set to null. // Token: 0x1700017F RID: 383 // (get) Token: 0x06000965 RID: 2405 RVA: 0x0000557C File Offset: 0x0000377C [Token(Token = "0x1700017F")] public DateTime Value { [Token(Token = "0x6000965")] [Address(RVA = "0x9FDCA0", Offset = "0x9FCCA0", VA = "0x1809FDCA0")] get { return default(DateTime); } } /// Gets the number of ticks representing the date of this structure. /// The number of ticks representing the date that is contained in the property of this structure. /// The exception that is thrown when the property of a structure is set to null. // Token: 0x17000180 RID: 384 // (get) Token: 0x06000966 RID: 2406 RVA: 0x00005594 File Offset: 0x00003794 [Token(Token = "0x17000180")] public int DayTicks { [Token(Token = "0x6000966")] [Address(RVA = "0x9FDBE0", Offset = "0x9FCBE0", VA = "0x1809FDBE0")] get { return 0; } } /// Gets the number of ticks representing the time of this structure. /// The number of ticks representing the time of this structure. // Token: 0x17000181 RID: 385 // (get) Token: 0x06000967 RID: 2407 RVA: 0x000055AC File Offset: 0x000037AC [Token(Token = "0x17000181")] public int TimeTicks { [Token(Token = "0x6000967")] [Address(RVA = "0x9FDC40", Offset = "0x9FCC40", VA = "0x1809FDC40")] get { return 0; } } /// Converts a structure to a structure. /// A structure. /// A structure whose is equal to the combined and properties of the supplied structure. // Token: 0x06000968 RID: 2408 RVA: 0x000055C4 File Offset: 0x000037C4 [Token(Token = "0x6000968")] [Address(RVA = "0x9FDF20", Offset = "0x9FCF20", VA = "0x1809FDF20")] public static implicit operator SqlDateTime(DateTime value) { return default(SqlDateTime); } /// Converts this structure to a . /// A representing the property of this structure. // Token: 0x06000969 RID: 2409 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000969")] [Address(RVA = "0x9FD1D0", Offset = "0x9FC1D0", VA = "0x1809FD1D0", Slot = "3")] public override string ToString() { return null; } /// Performs a logical comparison of two structures to determine whether they are equal. /// A structure. /// A structure. /// /// if the two values are equal. Otherwise, . // Token: 0x0600096A RID: 2410 RVA: 0x000055DC File Offset: 0x000037DC [Token(Token = "0x600096A")] [Address(RVA = "0x9FDD40", Offset = "0x9FCD40", VA = "0x1809FDD40")] public static SqlBoolean operator ==(SqlDateTime x, SqlDateTime y) { return default(SqlBoolean); } /// Compares two instances of to determine whether the first is less than the second. /// A structure. /// A structure. /// A that is if the first instance is less than the second instance. Otherwise, . If either instance of is null, the of the will be . // Token: 0x0600096B RID: 2411 RVA: 0x000055F4 File Offset: 0x000037F4 [Token(Token = "0x600096B")] [Address(RVA = "0x9FDF50", Offset = "0x9FCF50", VA = "0x1809FDF50")] public static SqlBoolean operator <(SqlDateTime x, SqlDateTime y) { return default(SqlBoolean); } /// Compares two instances of to determine whether the first is greater than the second. /// A structure. /// A structure. /// A that is if the first instance is greater than the second instance. Otherwise, . If either instance of is null, the of the will be . // Token: 0x0600096C RID: 2412 RVA: 0x0000560C File Offset: 0x0000380C [Token(Token = "0x600096C")] [Address(RVA = "0x9FDE10", Offset = "0x9FCE10", VA = "0x1809FDE10")] public static SqlBoolean operator >(SqlDateTime x, SqlDateTime y) { return default(SqlBoolean); } /// Compares two instances of to determine whether the first is less than the second. /// A structure. /// A structure. /// A that is if the first instance is less than the second instance. Otherwise, . If either instance of is null, the of the will be . // Token: 0x0600096D RID: 2413 RVA: 0x00005624 File Offset: 0x00003824 [Token(Token = "0x600096D")] [Address(RVA = "0x9FCCF0", Offset = "0x9FBCF0", VA = "0x1809FCCF0")] public static SqlBoolean LessThan(SqlDateTime x, SqlDateTime y) { return default(SqlBoolean); } /// Compares two instances of to determine whether the first is greater than the second. /// A structure. /// A structure. /// A that is if the first instance is greater than the second instance. Otherwise, . If either instance of is null, the of the will be . // Token: 0x0600096E RID: 2414 RVA: 0x0000563C File Offset: 0x0000383C [Token(Token = "0x600096E")] [Address(RVA = "0x9FCC60", Offset = "0x9FBC60", VA = "0x1809FCC60")] public static SqlBoolean GreaterThan(SqlDateTime x, SqlDateTime y) { return default(SqlBoolean); } /// Compares this structure to the supplied and returns an indication of their relative values. /// The to be compared. /// A signed number that indicates the relative values of the instance and the object. /// Return value /// /// Condition /// /// Less than zero /// /// This instance is less than the object. /// /// Zero /// /// This instance is the same as the object. /// /// Greater than zero /// /// This instance is greater than the object /// /// -or- /// /// The object is a null reference ( as Visual Basic). // Token: 0x0600096F RID: 2415 RVA: 0x00005654 File Offset: 0x00003854 [Token(Token = "0x600096F")] [Address(RVA = "0x9FC2D0", Offset = "0x9FB2D0", VA = "0x1809FC2D0", Slot = "5")] public int CompareTo(object value) { return 0; } /// Compares this structure to the supplied structure and returns an indication of their relative values. /// The structure to be compared. /// A signed number that indicates the relative values of the instance and the object. /// Return value /// /// Condition /// /// Less than zero /// /// This instance is less than . /// /// Zero /// /// This instance is the same as . /// /// Greater than zero /// /// This instance is greater than /// /// -or- /// /// is a null reference ( in Visual Basic) // Token: 0x06000970 RID: 2416 RVA: 0x0000566C File Offset: 0x0000386C [Token(Token = "0x6000970")] [Address(RVA = "0x9FC3E0", Offset = "0x9FB3E0", VA = "0x1809FC3E0")] public int CompareTo(SqlDateTime value) { return 0; } /// Compares the supplied object parameter to the property of the object. /// The object to be compared. /// /// if the object is an instance of and the two are equal; otherwise . // Token: 0x06000971 RID: 2417 RVA: 0x00005684 File Offset: 0x00003884 [Token(Token = "0x6000971")] [Address(RVA = "0x9FC630", Offset = "0x9FB630", VA = "0x1809FC630", Slot = "0")] public override bool Equals(object value) { return default(bool); } /// Gets the hash code for this instance. /// A 32-bit signed integer hash code. // Token: 0x06000972 RID: 2418 RVA: 0x0000569C File Offset: 0x0000389C [Token(Token = "0x6000972")] [Address(RVA = "0x9FCB30", Offset = "0x9FBB30", VA = "0x1809FCB30", Slot = "2")] public override int GetHashCode() { return 0; } /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. /// An . // Token: 0x06000973 RID: 2419 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000973")] [Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "6")] XmlSchema IXmlSerializable.GetSchema() { return null; } /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. /// /// /// // Token: 0x06000974 RID: 2420 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x6000974")] [Address(RVA = "0x9FCD80", Offset = "0x9FBD80", VA = "0x1809FCD80", Slot = "7")] void IXmlSerializable.ReadXml(XmlReader reader) { } /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. /// /// /// // Token: 0x06000975 RID: 2421 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x6000975")] [Address(RVA = "0x9FCFA0", Offset = "0x9FBFA0", VA = "0x1809FCFA0", Slot = "8")] void IXmlSerializable.WriteXml(XmlWriter writer) { } /// Returns the XML Schema definition language (XSD) of the specified . /// A . /// A value that indicates the XSD of the specified . // Token: 0x06000976 RID: 2422 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000976")] [Address(RVA = "0x9FCC00", Offset = "0x9FBC00", VA = "0x1809FCC00")] public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) { return null; } // Token: 0x04000362 RID: 866 [FieldOffset(Offset = "0x0")] [Token(Token = "0x4000362")] private bool m_fNotNull; // Token: 0x04000363 RID: 867 [FieldOffset(Offset = "0x4")] [Token(Token = "0x4000363")] private int m_day; // Token: 0x04000364 RID: 868 [FieldOffset(Offset = "0x8")] [Token(Token = "0x4000364")] private int m_time; // Token: 0x04000365 RID: 869 [Token(Token = "0x4000365")] private static readonly double s_SQLTicksPerMillisecond; /// A constant whose value is the number of ticks equivalent to one second. // Token: 0x04000366 RID: 870 [Token(Token = "0x4000366")] public static readonly int SQLTicksPerSecond; /// A constant whose value is the number of ticks equivalent to one minute. // Token: 0x04000367 RID: 871 [Token(Token = "0x4000367")] public static readonly int SQLTicksPerMinute; /// A constant whose value is the number of ticks equivalent to one hour. // Token: 0x04000368 RID: 872 [Token(Token = "0x4000368")] public static readonly int SQLTicksPerHour; // Token: 0x04000369 RID: 873 [Token(Token = "0x4000369")] private static readonly int s_SQLTicksPerDay; // Token: 0x0400036A RID: 874 [Token(Token = "0x400036A")] private static readonly long s_ticksPerSecond; // Token: 0x0400036B RID: 875 [Token(Token = "0x400036B")] private static readonly DateTime s_SQLBaseDate; // Token: 0x0400036C RID: 876 [Token(Token = "0x400036C")] private static readonly long s_SQLBaseDateTicks; // Token: 0x0400036D RID: 877 [Token(Token = "0x400036D")] private static readonly int s_minYear; // Token: 0x0400036E RID: 878 [Token(Token = "0x400036E")] private static readonly int s_maxYear; // Token: 0x0400036F RID: 879 [Token(Token = "0x400036F")] private static readonly int s_minDay; // Token: 0x04000370 RID: 880 [Token(Token = "0x4000370")] private static readonly int s_maxDay; // Token: 0x04000371 RID: 881 [Token(Token = "0x4000371")] private static readonly int s_minTime; // Token: 0x04000372 RID: 882 [Token(Token = "0x4000372")] private static readonly int s_maxTime; // Token: 0x04000373 RID: 883 [Token(Token = "0x4000373")] private static readonly int s_dayBase; // Token: 0x04000374 RID: 884 [Token(Token = "0x4000374")] private static readonly int[] s_daysToMonth365; // Token: 0x04000375 RID: 885 [Token(Token = "0x4000375")] private static readonly int[] s_daysToMonth366; // Token: 0x04000376 RID: 886 [Token(Token = "0x4000376")] private static readonly DateTime s_minDateTime; // Token: 0x04000377 RID: 887 [Token(Token = "0x4000377")] private static readonly DateTime s_maxDateTime; // Token: 0x04000378 RID: 888 [Token(Token = "0x4000378")] private static readonly TimeSpan s_minTimeSpan; // Token: 0x04000379 RID: 889 [Token(Token = "0x4000379")] private static readonly TimeSpan s_maxTimeSpan; // Token: 0x0400037A RID: 890 [Token(Token = "0x400037A")] private static readonly string s_ISO8601_DateTimeFormat; // Token: 0x0400037B RID: 891 [Token(Token = "0x400037B")] private static readonly string[] s_dateTimeFormats; /// Represents the minimum valid date value for a structure. // Token: 0x0400037C RID: 892 [Token(Token = "0x400037C")] public static readonly SqlDateTime MinValue; /// Represents the maximum valid date value for a structure. // Token: 0x0400037D RID: 893 [Token(Token = "0x400037D")] public static readonly SqlDateTime MaxValue; /// Represents a that can be assigned to this instance of the structure. // Token: 0x0400037E RID: 894 [Token(Token = "0x400037E")] public static readonly SqlDateTime Null; } }