using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Globalization { /// Represents the Gregorian calendar. // Token: 0x020002D4 RID: 724 [Token(Token = "0x20002D4")] [ComVisible(true)] [Serializable] public class GregorianCalendar : Calendar { // Token: 0x06001AE6 RID: 6886 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001AE6")] [Address(RVA = "0x2C098C0", Offset = "0x2C086C0", VA = "0x182C098C0")] [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: 0x1700035C RID: 860 // (get) Token: 0x06001AE7 RID: 6887 RVA: 0x000118C8 File Offset: 0x0000FAC8 [Token(Token = "0x1700035C")] [ComVisible(false)] public override DateTime MinSupportedDateTime { [Token(Token = "0x6001AE7")] [Address(RVA = "0x2C09F90", Offset = "0x2C08D90", VA = "0x182C09F90", 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: 0x1700035D RID: 861 // (get) Token: 0x06001AE8 RID: 6888 RVA: 0x000118E0 File Offset: 0x0000FAE0 [Token(Token = "0x1700035D")] [ComVisible(false)] public override DateTime MaxSupportedDateTime { [Token(Token = "0x6001AE8")] [Address(RVA = "0x2C09F30", Offset = "0x2C08D30", VA = "0x182C09F30", Slot = "6")] get { return default(DateTime); } } // Token: 0x06001AE9 RID: 6889 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001AE9")] [Address(RVA = "0x2C09420", Offset = "0x2C08220", VA = "0x182C09420")] internal static Calendar GetDefaultInstance() { return null; } /// Initializes a new instance of the class using the default value. // Token: 0x06001AEA RID: 6890 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001AEA")] [Address(RVA = "0x2C09EC0", Offset = "0x2C08CC0", VA = "0x182C09EC0")] 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: 0x06001AEB RID: 6891 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001AEB")] [Address(RVA = "0x2C09D90", Offset = "0x2C08B90", VA = "0x182C09D90")] public GregorianCalendar(GregorianCalendarTypes type) { } // Token: 0x1700035E RID: 862 // (get) Token: 0x06001AEC RID: 6892 RVA: 0x000118F8 File Offset: 0x0000FAF8 [Token(Token = "0x1700035E")] internal override int ID { [Token(Token = "0x6001AEC")] [Address(RVA = "0x3F7310", Offset = "0x3F6110", VA = "0x1803F7310", Slot = "7")] get { return 0; } } // Token: 0x06001AED RID: 6893 RVA: 0x00011910 File Offset: 0x0000FB10 [Token(Token = "0x6001AED")] [Address(RVA = "0x2C08ED0", Offset = "0x2C07CD0", VA = "0x182C08ED0", Slot = "29")] internal virtual int GetDatePart(long ticks, int part) { return 0; } /// 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: 0x06001AEE RID: 6894 RVA: 0x00011928 File Offset: 0x0000FB28 [Token(Token = "0x6001AEE")] [Address(RVA = "0x2C090C0", Offset = "0x2C07EC0", VA = "0x182C090C0", Slot = "11")] 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: 0x06001AEF RID: 6895 RVA: 0x00011940 File Offset: 0x0000FB40 [Token(Token = "0x6001AEF")] [Address(RVA = "0x2C09100", Offset = "0x2C07F00", VA = "0x182C09100", Slot = "12")] public override DayOfWeek GetDayOfWeek(DateTime time) { return DayOfWeek.Sunday; } /// 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: 0x06001AF0 RID: 6896 RVA: 0x00011958 File Offset: 0x0000FB58 [Token(Token = "0x6001AF0")] [Address(RVA = "0x2C09150", Offset = "0x2C07F50", VA = "0x182C09150", Slot = "13")] public override int GetDaysInMonth(int year, int month, int era) { return 0; } /// Returns the era in the specified . /// The to read. /// An integer that represents the era in . // Token: 0x06001AF1 RID: 6897 RVA: 0x00011970 File Offset: 0x0000FB70 [Token(Token = "0x6001AF1")] [Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "14")] 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: 0x1700035F RID: 863 // (get) Token: 0x06001AF2 RID: 6898 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700035F")] public override int[] Eras { [Token(Token = "0x6001AF2")] [Address(RVA = "0x2C09ED0", Offset = "0x2C08CD0", VA = "0x182C09ED0", Slot = "15")] get { return null; } } /// Returns the month in the specified . /// The to read. /// An integer from 1 to 12 that represents the month in . // Token: 0x06001AF3 RID: 6899 RVA: 0x00011988 File Offset: 0x0000FB88 [Token(Token = "0x6001AF3")] [Address(RVA = "0x2C09520", Offset = "0x2C08320", VA = "0x182C09520", Slot = "16")] 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: 0x06001AF4 RID: 6900 RVA: 0x000119A0 File Offset: 0x0000FBA0 [Token(Token = "0x6001AF4")] [Address(RVA = "0x2C09560", Offset = "0x2C08360", VA = "0x182C09560", Slot = "17")] 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: 0x06001AF5 RID: 6901 RVA: 0x000119B8 File Offset: 0x0000FBB8 [Token(Token = "0x6001AF5")] [Address(RVA = "0x2C096C0", Offset = "0x2C084C0", VA = "0x182C096C0", Slot = "18")] public override int GetYear(DateTime time) { return 0; } /// 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: 0x06001AF6 RID: 6902 RVA: 0x000119D0 File Offset: 0x0000FBD0 [Token(Token = "0x6001AF6")] [Address(RVA = "0x2C09700", Offset = "0x2C08500", VA = "0x182C09700", Slot = "20")] 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: 0x06001AF7 RID: 6903 RVA: 0x000119E8 File Offset: 0x0000FBE8 [Token(Token = "0x6001AF7")] [Address(RVA = "0x2C09990", Offset = "0x2C08790", VA = "0x182C09990", Slot = "22")] public override DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) { return default(DateTime); } // Token: 0x06001AF8 RID: 6904 RVA: 0x00011A00 File Offset: 0x0000FC00 [Token(Token = "0x6001AF8")] [Address(RVA = "0x2C09BE0", Offset = "0x2C089E0", VA = "0x182C09BE0", Slot = "23")] 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: 0x17000360 RID: 864 // (get) Token: 0x06001AF9 RID: 6905 RVA: 0x00011A18 File Offset: 0x0000FC18 [Token(Token = "0x17000360")] public override int TwoDigitYearMax { [Token(Token = "0x6001AF9")] [Address(RVA = "0x2C09FF0", Offset = "0x2C08DF0", VA = "0x182C09FF0", Slot = "27")] get { return 0; } } /// 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: 0x06001AFA RID: 6906 RVA: 0x00011A30 File Offset: 0x0000FC30 [Token(Token = "0x6001AFA")] [Address(RVA = "0x2C09A80", Offset = "0x2C08880", VA = "0x182C09A80", Slot = "28")] public override int ToFourDigitYear(int year) { return 0; } // Token: 0x04000EE5 RID: 3813 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000EE5")] internal GregorianCalendarTypes m_type; // Token: 0x04000EE6 RID: 3814 [Token(Token = "0x4000EE6")] internal static readonly int[] DaysToMonth365; // Token: 0x04000EE7 RID: 3815 [Token(Token = "0x4000EE7")] internal static readonly int[] DaysToMonth366; // Token: 0x04000EE8 RID: 3816 [Token(Token = "0x4000EE8")] private static Calendar s_defaultInstance; } }