using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Globalization { /// Represents the Gregorian calendar. // Token: 0x020002E3 RID: 739 [Token(Token = "0x20002E3")] [ComVisible(true)] [Serializable] public class GregorianCalendar : Calendar { // Token: 0x06001BBE RID: 7102 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001BBE")] [Address(RVA = "0xE29350", Offset = "0xE28350", VA = "0x180E29350")] [OnDeserialized] private void OnDeserialized(StreamingContext ctx) { } /// Gets the earliest date and time supported by the type. /// The earliest date and time supported by the type, which is the first moment of January 1, 0001 C.E. and is equivalent to . // Token: 0x17000385 RID: 901 // (get) Token: 0x06001BBF RID: 7103 RVA: 0x000126A8 File Offset: 0x000108A8 [Token(Token = "0x17000385")] [ComVisible(false)] public override DateTime MinSupportedDateTime { [Token(Token = "0x6001BBF")] [Address(RVA = "0xE29A50", Offset = "0xE28A50", VA = "0x180E29A50", Slot = "5")] get { return default(DateTime); } } /// Gets the latest date and time supported by the type. /// The latest date and time supported by the type, which is the last moment of December 31, 9999 C.E. and is equivalent to . // Token: 0x17000386 RID: 902 // (get) Token: 0x06001BC0 RID: 7104 RVA: 0x000126C0 File Offset: 0x000108C0 [Token(Token = "0x17000386")] [ComVisible(false)] public override DateTime MaxSupportedDateTime { [Token(Token = "0x6001BC0")] [Address(RVA = "0xE299F0", Offset = "0xE289F0", VA = "0x180E299F0", Slot = "6")] get { return default(DateTime); } } /// Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both. /// Always returns . // Token: 0x17000387 RID: 903 // (get) Token: 0x06001BC1 RID: 7105 RVA: 0x000126D8 File Offset: 0x000108D8 [Token(Token = "0x17000387")] [ComVisible(false)] public override CalendarAlgorithmType AlgorithmType { [Token(Token = "0x6001BC1")] [Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "9")] get { return CalendarAlgorithmType.Unknown; } } // Token: 0x06001BC2 RID: 7106 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001BC2")] [Address(RVA = "0xE28750", Offset = "0xE27750", VA = "0x180E28750")] internal static Calendar GetDefaultInstance() { return null; } /// Initializes a new instance of the class using the default value. // Token: 0x06001BC3 RID: 7107 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001BC3")] [Address(RVA = "0xE29950", Offset = "0xE28950", VA = "0x180E29950")] public GregorianCalendar() { } /// Initializes a new instance of the class using the specified value. /// The value that denotes which language version of the calendar to create. /// /// is not a member of the enumeration. // Token: 0x06001BC4 RID: 7108 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001BC4")] [Address(RVA = "0xE29820", Offset = "0xE28820", VA = "0x180E29820")] public GregorianCalendar(GregorianCalendarTypes type) { } /// Gets or sets the value that denotes the language version of the current . /// A value that denotes the language version of the current . /// The value specified in a set operation is not a member of the enumeration. /// In a set operation, the current instance is read-only. // Token: 0x17000388 RID: 904 // (get) Token: 0x06001BC5 RID: 7109 RVA: 0x000126F0 File Offset: 0x000108F0 // (set) Token: 0x06001BC6 RID: 7110 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000388")] public virtual GregorianCalendarTypes CalendarType { [Token(Token = "0x6001BC5")] [Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", Slot = "41")] get { return (GregorianCalendarTypes)0; } [Token(Token = "0x6001BC6")] [Address(RVA = "0xE29AF0", Offset = "0xE28AF0", VA = "0x180E29AF0", Slot = "42")] set { } } // Token: 0x17000389 RID: 905 // (get) Token: 0x06001BC7 RID: 7111 RVA: 0x00012708 File Offset: 0x00010908 [Token(Token = "0x17000389")] internal override int ID { [Token(Token = "0x6001BC7")] [Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70", Slot = "7")] get { return 0; } } // Token: 0x06001BC8 RID: 7112 RVA: 0x00012720 File Offset: 0x00010920 [Token(Token = "0x6001BC8")] [Address(RVA = "0xE28000", Offset = "0xE27000", VA = "0x180E28000", Slot = "43")] internal virtual int GetDatePart(long ticks, int part) { return 0; } // Token: 0x06001BC9 RID: 7113 RVA: 0x00012738 File Offset: 0x00010938 [Token(Token = "0x6001BC9")] [Address(RVA = "0xE27DF0", Offset = "0xE26DF0", VA = "0x180E27DF0")] internal static long GetAbsoluteDate(int year, int month, int day) { return 0L; } // Token: 0x06001BCA RID: 7114 RVA: 0x00012750 File Offset: 0x00010950 [Token(Token = "0x6001BCA")] [Address(RVA = "0xE27D70", Offset = "0xE26D70", VA = "0x180E27D70", Slot = "44")] internal virtual long DateToTicks(int year, int month, int day) { return 0L; } /// Returns a that is the specified number of months away from the specified . /// The to which to add months. /// The number of months to add. /// The that results from adding the specified number of months to the specified . /// The resulting is outside the supported range. /// /// is less than -120000. /// -or- /// is greater than 120000. // Token: 0x06001BCB RID: 7115 RVA: 0x00012768 File Offset: 0x00010968 [Token(Token = "0x6001BCB")] [Address(RVA = "0xE279B0", Offset = "0xE269B0", VA = "0x180E279B0", Slot = "12")] public override DateTime AddMonths(DateTime time, int months) { return default(DateTime); } /// Returns a that is the specified number of years away from the specified . /// The to which to add years. /// The number of years to add. /// The that results from adding the specified number of years to the specified . /// The resulting is outside the supported range. // Token: 0x06001BCC RID: 7116 RVA: 0x00012780 File Offset: 0x00010980 [Token(Token = "0x6001BCC")] [Address(RVA = "0xE27D50", Offset = "0xE26D50", VA = "0x180E27D50", Slot = "13")] public override DateTime AddYears(DateTime time, int years) { return default(DateTime); } /// Returns the day of the month in the specified . /// The to read. /// An integer from 1 to 31 that represents the day of the month in . // Token: 0x06001BCD RID: 7117 RVA: 0x00012798 File Offset: 0x00010998 [Token(Token = "0x6001BCD")] [Address(RVA = "0xE281F0", Offset = "0xE271F0", VA = "0x180E281F0", Slot = "14")] public override int GetDayOfMonth(DateTime time) { return 0; } /// Returns the day of the week in the specified . /// The to read. /// A value that represents the day of the week in . // Token: 0x06001BCE RID: 7118 RVA: 0x000127B0 File Offset: 0x000109B0 [Token(Token = "0x6001BCE")] [Address(RVA = "0xE28230", Offset = "0xE27230", VA = "0x180E28230", Slot = "15")] public override DayOfWeek GetDayOfWeek(DateTime time) { return DayOfWeek.Sunday; } /// Returns the day of the year in the specified . /// The to read. /// An integer from 1 to 366 that represents the day of the year in . // Token: 0x06001BCF RID: 7119 RVA: 0x000127C8 File Offset: 0x000109C8 [Token(Token = "0x6001BCF")] [Address(RVA = "0xE28280", Offset = "0xE27280", VA = "0x180E28280", Slot = "16")] public override int GetDayOfYear(DateTime time) { return 0; } /// Returns the number of days in the specified month in the specified year in the specified era. /// An integer that represents the year. /// An integer from 1 to 12 that represents the month. /// An integer that represents the era. /// The number of days in the specified month in the specified year in the specified era. /// /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. // Token: 0x06001BD0 RID: 7120 RVA: 0x000127E0 File Offset: 0x000109E0 [Token(Token = "0x6001BD0")] [Address(RVA = "0xE282C0", Offset = "0xE272C0", VA = "0x180E282C0", Slot = "18")] public override int GetDaysInMonth(int year, int month, int era) { return 0; } /// Returns the number of days in the specified year in the specified era. /// An integer that represents the year. /// An integer that represents the era. /// The number of days in the specified year in the specified era. /// /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. // Token: 0x06001BD1 RID: 7121 RVA: 0x000127F8 File Offset: 0x000109F8 [Token(Token = "0x6001BD1")] [Address(RVA = "0xE28590", Offset = "0xE27590", VA = "0x180E28590", Slot = "19")] public override int GetDaysInYear(int year, int era) { return 0; } /// Returns the era in the specified . /// The to read. /// An integer that represents the era in . // Token: 0x06001BD2 RID: 7122 RVA: 0x00012810 File Offset: 0x00010A10 [Token(Token = "0x6001BD2")] [Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "20")] public override int GetEra(DateTime time) { return 0; } /// Gets the list of eras in the . /// An array of integers that represents the eras in the . // Token: 0x1700038A RID: 906 // (get) Token: 0x06001BD3 RID: 7123 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700038A")] public override int[] Eras { [Token(Token = "0x6001BD3")] [Address(RVA = "0xE29990", Offset = "0xE28990", VA = "0x180E29990", Slot = "21")] get { return null; } } /// Returns the month in the specified . /// The to read. /// An integer from 1 to 12 that represents the month in . // Token: 0x06001BD4 RID: 7124 RVA: 0x00012828 File Offset: 0x00010A28 [Token(Token = "0x6001BD4")] [Address(RVA = "0xE289C0", Offset = "0xE279C0", VA = "0x180E289C0", Slot = "22")] public override int GetMonth(DateTime time) { return 0; } /// Returns the number of months in the specified year in the specified era. /// An integer that represents the year. /// An integer that represents the era. /// The number of months in the specified year in the specified era. /// /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. // Token: 0x06001BD5 RID: 7125 RVA: 0x00012840 File Offset: 0x00010A40 [Token(Token = "0x6001BD5")] [Address(RVA = "0xE28A00", Offset = "0xE27A00", VA = "0x180E28A00", Slot = "23")] public override int GetMonthsInYear(int year, int era) { return 0; } /// Returns the year in the specified . /// The to read. /// An integer that represents the year in . // Token: 0x06001BD6 RID: 7126 RVA: 0x00012858 File Offset: 0x00010A58 [Token(Token = "0x6001BD6")] [Address(RVA = "0xE28B60", Offset = "0xE27B60", VA = "0x180E28B60", Slot = "26")] public override int GetYear(DateTime time) { return 0; } /// Determines whether the specified date in the specified era is a leap day. /// An integer that represents the year. /// An integer from 1 to 12 that represents the month. /// An integer from 1 to 31 that represents the day. /// An integer that represents the era. /// /// if the specified day is a leap day; otherwise, . /// /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. // Token: 0x06001BD7 RID: 7127 RVA: 0x00012870 File Offset: 0x00010A70 [Token(Token = "0x6001BD7")] [Address(RVA = "0xE28BA0", Offset = "0xE27BA0", VA = "0x180E28BA0", Slot = "27")] public override bool IsLeapDay(int year, int month, int day, int era) { return default(bool); } /// Calculates the leap month for a specified year and era. /// A year. /// An era. Specify either or . /// Always 0 because the Gregorian calendar does not recognize leap months. /// /// is less than the Gregorian calendar year 1 or greater than the Gregorian calendar year 9999. /// -or- /// is not or . // Token: 0x06001BD8 RID: 7128 RVA: 0x00012888 File Offset: 0x00010A88 [Token(Token = "0x6001BD8")] [Address(RVA = "0xE28860", Offset = "0xE27860", VA = "0x180E28860", Slot = "29")] [ComVisible(false)] public override int GetLeapMonth(int year, int era) { return 0; } /// Determines whether the specified month in the specified year in the specified era is a leap month. /// An integer that represents the year. /// An integer from 1 to 12 that represents the month. /// An integer that represents the era. /// This method always returns , unless overridden by a derived class. /// /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. // Token: 0x06001BD9 RID: 7129 RVA: 0x000128A0 File Offset: 0x00010AA0 [Token(Token = "0x6001BD9")] [Address(RVA = "0xE28F50", Offset = "0xE27F50", VA = "0x180E28F50", Slot = "28")] public override bool IsLeapMonth(int year, int month, int era) { return default(bool); } /// Determines whether the specified year in the specified era is a leap year. /// An integer that represents the year. /// An integer that represents the era. /// /// if the specified year is a leap year; otherwise, . /// /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. // Token: 0x06001BDA RID: 7130 RVA: 0x000128B8 File Offset: 0x00010AB8 [Token(Token = "0x6001BDA")] [Address(RVA = "0xE29190", Offset = "0xE28190", VA = "0x180E29190", Slot = "31")] public override bool IsLeapYear(int year, int era) { return default(bool); } /// Returns a that is set to the specified date and time in the specified era. /// An integer that represents the year. /// An integer from 1 to 12 that represents the month. /// An integer from 1 to 31 that represents the day. /// An integer from 0 to 23 that represents the hour. /// An integer from 0 to 59 that represents the minute. /// An integer from 0 to 59 that represents the second. /// An integer from 0 to 999 that represents the millisecond. /// An integer that represents the era. /// The that is set to the specified date and time in the current era. /// /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. /// -or- /// is outside the range supported by the calendar. /// -or- /// is less than zero or greater than 23. /// -or- /// is less than zero or greater than 59. /// -or- /// is less than zero or greater than 59. /// -or- /// is less than zero or greater than 999. // Token: 0x06001BDB RID: 7131 RVA: 0x000128D0 File Offset: 0x00010AD0 [Token(Token = "0x6001BDB")] [Address(RVA = "0xE29420", Offset = "0xE28420", VA = "0x180E29420", Slot = "33")] public override DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) { return default(DateTime); } // Token: 0x06001BDC RID: 7132 RVA: 0x000128E8 File Offset: 0x00010AE8 [Token(Token = "0x6001BDC")] [Address(RVA = "0xE29670", Offset = "0xE28670", VA = "0x180E29670", Slot = "34")] internal override bool TryToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era, out DateTime result) { return default(bool); } /// Gets or sets the last year of a 100-year range that can be represented by a 2-digit year. /// The last year of a 100-year range that can be represented by a 2-digit year. /// The value specified in a set operation is less than 99. /// -or- /// The value specified in a set operation is greater than . /// In a set operation, the current instance is read-only. // Token: 0x1700038B RID: 907 // (get) Token: 0x06001BDD RID: 7133 RVA: 0x00012900 File Offset: 0x00010B00 // (set) Token: 0x06001BDE RID: 7134 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700038B")] public override int TwoDigitYearMax { [Token(Token = "0x6001BDD")] [Address(RVA = "0xE29AB0", Offset = "0xE28AB0", VA = "0x180E29AB0", Slot = "38")] get { return 0; } [Token(Token = "0x6001BDE")] [Address(RVA = "0xE29B90", Offset = "0xE28B90", VA = "0x180E29B90", Slot = "39")] set { } } /// Converts the specified year to a four-digit year by using the property to determine the appropriate century. /// A two-digit or four-digit integer that represents the year to convert. /// An integer that contains the four-digit representation of . /// /// is outside the range supported by the calendar. // Token: 0x06001BDF RID: 7135 RVA: 0x00012918 File Offset: 0x00010B18 [Token(Token = "0x6001BDF")] [Address(RVA = "0xE29510", Offset = "0xE28510", VA = "0x180E29510", Slot = "40")] public override int ToFourDigitYear(int year) { return 0; } /// Represents the current era. This field is constant. // Token: 0x04000F2B RID: 3883 [Token(Token = "0x4000F2B")] public const int ADEra = 1; // Token: 0x04000F2C RID: 3884 [Token(Token = "0x4000F2C")] internal const int DatePartYear = 0; // Token: 0x04000F2D RID: 3885 [Token(Token = "0x4000F2D")] internal const int DatePartDayOfYear = 1; // Token: 0x04000F2E RID: 3886 [Token(Token = "0x4000F2E")] internal const int DatePartMonth = 2; // Token: 0x04000F2F RID: 3887 [Token(Token = "0x4000F2F")] internal const int DatePartDay = 3; // Token: 0x04000F30 RID: 3888 [Token(Token = "0x4000F30")] internal const int MaxYear = 9999; // Token: 0x04000F31 RID: 3889 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000F31")] internal GregorianCalendarTypes m_type; // Token: 0x04000F32 RID: 3890 [Token(Token = "0x4000F32")] internal static readonly int[] DaysToMonth365; // Token: 0x04000F33 RID: 3891 [Token(Token = "0x4000F33")] internal static readonly int[] DaysToMonth366; // Token: 0x04000F34 RID: 3892 [Token(Token = "0x4000F34")] private static Calendar s_defaultInstance; // Token: 0x04000F35 RID: 3893 [Token(Token = "0x4000F35")] private const int DEFAULT_TWO_DIGIT_YEAR_MAX = 2029; } }