using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Globalization { /// Represents the Julian calendar. // Token: 0x020002F2 RID: 754 [Token(Token = "0x20002F2")] [ComVisible(true)] [Serializable] public class JulianCalendar : Calendar { /// Gets the earliest date and time supported by the class. /// The earliest date and time supported by the class, which is equivalent to the first moment of January 1, 0001 C.E. in the Gregorian calendar. // Token: 0x170003AD RID: 941 // (get) Token: 0x06001C88 RID: 7304 RVA: 0x000134A0 File Offset: 0x000116A0 [Token(Token = "0x170003AD")] [ComVisible(false)] public override DateTime MinSupportedDateTime { [Token(Token = "0x6001C88")] [Address(RVA = "0xE33F80", Offset = "0xE32F80", VA = "0x180E33F80", Slot = "5")] get { return default(DateTime); } } /// Gets the latest date and time supported by the class. /// The latest date and time supported by the class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar. // Token: 0x170003AE RID: 942 // (get) Token: 0x06001C89 RID: 7305 RVA: 0x000134B8 File Offset: 0x000116B8 [Token(Token = "0x170003AE")] [ComVisible(false)] public override DateTime MaxSupportedDateTime { [Token(Token = "0x6001C89")] [Address(RVA = "0xE33F20", Offset = "0xE32F20", VA = "0x180E33F20", 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: 0x170003AF RID: 943 // (get) Token: 0x06001C8A RID: 7306 RVA: 0x000134D0 File Offset: 0x000116D0 [Token(Token = "0x170003AF")] [ComVisible(false)] public override CalendarAlgorithmType AlgorithmType { [Token(Token = "0x6001C8A")] [Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "9")] get { return CalendarAlgorithmType.Unknown; } } /// Initializes a new instance of the class. // Token: 0x06001C8B RID: 7307 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001C8B")] [Address(RVA = "0xE33E60", Offset = "0xE32E60", VA = "0x180E33E60")] public JulianCalendar() { } // Token: 0x170003B0 RID: 944 // (get) Token: 0x06001C8C RID: 7308 RVA: 0x000134E8 File Offset: 0x000116E8 [Token(Token = "0x170003B0")] internal override int ID { [Token(Token = "0x6001C8C")] [Address(RVA = "0xAD7DE0", Offset = "0xAD6DE0", VA = "0x180AD7DE0", Slot = "7")] get { return 0; } } // Token: 0x06001C8D RID: 7309 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001C8D")] [Address(RVA = "0xE32DB0", Offset = "0xE31DB0", VA = "0x180E32DB0")] internal static void CheckEraRange(int era) { } // Token: 0x06001C8E RID: 7310 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001C8E")] [Address(RVA = "0xE32EE0", Offset = "0xE31EE0", VA = "0x180E32EE0")] internal void CheckYearEraRange(int year, int era) { } // Token: 0x06001C8F RID: 7311 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001C8F")] [Address(RVA = "0xE32E60", Offset = "0xE31E60", VA = "0x180E32E60")] internal static void CheckMonthRange(int month) { } // Token: 0x06001C90 RID: 7312 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001C90")] [Address(RVA = "0xE32B90", Offset = "0xE31B90", VA = "0x180E32B90")] internal static void CheckDayRange(int year, int month, int day) { } // Token: 0x06001C91 RID: 7313 RVA: 0x00013500 File Offset: 0x00011700 [Token(Token = "0x6001C91")] [Address(RVA = "0xE331D0", Offset = "0xE321D0", VA = "0x180E331D0")] internal static int GetDatePart(long ticks, int part) { return 0; } // Token: 0x06001C92 RID: 7314 RVA: 0x00013518 File Offset: 0x00011718 [Token(Token = "0x6001C92")] [Address(RVA = "0xE330C0", Offset = "0xE320C0", VA = "0x180E330C0")] internal static 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: 0x06001C93 RID: 7315 RVA: 0x00013530 File Offset: 0x00011730 [Token(Token = "0x6001C93")] [Address(RVA = "0xE32780", Offset = "0xE31780", VA = "0x180E32780", 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: 0x06001C94 RID: 7316 RVA: 0x00013548 File Offset: 0x00011748 [Token(Token = "0x6001C94")] [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: 0x06001C95 RID: 7317 RVA: 0x00013560 File Offset: 0x00011760 [Token(Token = "0x6001C95")] [Address(RVA = "0xE33360", Offset = "0xE32360", VA = "0x180E33360", 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: 0x06001C96 RID: 7318 RVA: 0x00013578 File Offset: 0x00011778 [Token(Token = "0x6001C96")] [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: 0x06001C97 RID: 7319 RVA: 0x00013590 File Offset: 0x00011790 [Token(Token = "0x6001C97")] [Address(RVA = "0xE333D0", Offset = "0xE323D0", VA = "0x180E333D0", 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: 0x06001C98 RID: 7320 RVA: 0x000135A8 File Offset: 0x000117A8 [Token(Token = "0x6001C98")] [Address(RVA = "0xE334B0", Offset = "0xE324B0", VA = "0x180E334B0", 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: 0x06001C99 RID: 7321 RVA: 0x000135C0 File Offset: 0x000117C0 [Token(Token = "0x6001C99")] [Address(RVA = "0xE335F0", Offset = "0xE325F0", VA = "0x180E335F0", 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: 0x06001C9A RID: 7322 RVA: 0x000135D8 File Offset: 0x000117D8 [Token(Token = "0x6001C9A")] [Address(RVA = "0xE33620", Offset = "0xE32620", VA = "0x180E33620", Slot = "20")] public override int GetEra(DateTime time) { return 0; } /// Returns the month in the specified . /// The to read. /// An integer from 1 to 12 that represents the month in . // Token: 0x06001C9B RID: 7323 RVA: 0x000135F0 File Offset: 0x000117F0 [Token(Token = "0x6001C9B")] [Address(RVA = "0xE336A0", Offset = "0xE326A0", VA = "0x180E336A0", Slot = "22")] public override int GetMonth(DateTime time) { return 0; } /// Gets the list of eras in the . /// An array of integers that represents the eras in the . // Token: 0x170003B1 RID: 945 // (get) Token: 0x06001C9C RID: 7324 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170003B1")] public override int[] Eras { [Token(Token = "0x6001C9C")] [Address(RVA = "0xE33E90", Offset = "0xE32E90", VA = "0x180E33E90", Slot = "21")] get { return null; } } /// 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: 0x06001C9D RID: 7325 RVA: 0x00013608 File Offset: 0x00011808 [Token(Token = "0x6001C9D")] [Address(RVA = "0xE33710", Offset = "0xE32710", VA = "0x180E33710", 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: 0x06001C9E RID: 7326 RVA: 0x00013620 File Offset: 0x00011820 [Token(Token = "0x6001C9E")] [Address(RVA = "0xE33730", Offset = "0xE32730", VA = "0x180E33730", 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: 0x06001C9F RID: 7327 RVA: 0x00013638 File Offset: 0x00011838 [Token(Token = "0x6001C9F")] [Address(RVA = "0xE33820", Offset = "0xE32820", VA = "0x180E33820", 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. /// An integer that represents the year. /// An integer that represents the era. /// A positive integer that indicates the leap month in the specified year and era. Alternatively, this method returns zero if the calendar does not support a leap month, or if and do not specify a leap year. // Token: 0x06001CA0 RID: 7328 RVA: 0x00013650 File Offset: 0x00011850 [Token(Token = "0x6001CA0")] [Address(RVA = "0xE33680", Offset = "0xE32680", VA = "0x180E33680", 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: 0x06001CA1 RID: 7329 RVA: 0x00013668 File Offset: 0x00011868 [Token(Token = "0x6001CA1")] [Address(RVA = "0xE33920", Offset = "0xE32920", VA = "0x180E33920", 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: 0x06001CA2 RID: 7330 RVA: 0x00013680 File Offset: 0x00011880 [Token(Token = "0x6001CA2")] [Address(RVA = "0xE339B0", Offset = "0xE329B0", VA = "0x180E339B0", 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 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. /// -or- /// is outside the range supported by the calendar. // Token: 0x06001CA3 RID: 7331 RVA: 0x00013698 File Offset: 0x00011898 [Token(Token = "0x6001CA3")] [Address(RVA = "0xE339E0", Offset = "0xE329E0", VA = "0x180E339E0", 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); } /// 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: 0x170003B2 RID: 946 // (get) Token: 0x06001CA4 RID: 7332 RVA: 0x000136B0 File Offset: 0x000118B0 // (set) Token: 0x06001CA5 RID: 7333 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003B2")] public override int TwoDigitYearMax { [Token(Token = "0x6001CA4")] [Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540", Slot = "38")] get { return 0; } [Token(Token = "0x6001CA5")] [Address(RVA = "0xE33FE0", Offset = "0xE32FE0", VA = "0x180E33FE0", 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: 0x06001CA6 RID: 7334 RVA: 0x000136C8 File Offset: 0x000118C8 [Token(Token = "0x6001CA6")] [Address(RVA = "0xE33C50", Offset = "0xE32C50", VA = "0x180E33C50", Slot = "40")] public override int ToFourDigitYear(int year) { return 0; } /// Represents the current era. This field is constant. // Token: 0x04000FB1 RID: 4017 [Token(Token = "0x4000FB1")] public static readonly int JulianEra; // Token: 0x04000FB2 RID: 4018 [Token(Token = "0x4000FB2")] private const int DatePartYear = 0; // Token: 0x04000FB3 RID: 4019 [Token(Token = "0x4000FB3")] private const int DatePartDayOfYear = 1; // Token: 0x04000FB4 RID: 4020 [Token(Token = "0x4000FB4")] private const int DatePartMonth = 2; // Token: 0x04000FB5 RID: 4021 [Token(Token = "0x4000FB5")] private const int DatePartDay = 3; // Token: 0x04000FB6 RID: 4022 [Token(Token = "0x4000FB6")] private const int JulianDaysPerYear = 365; // Token: 0x04000FB7 RID: 4023 [Token(Token = "0x4000FB7")] private const int JulianDaysPer4Years = 1461; // Token: 0x04000FB8 RID: 4024 [Token(Token = "0x4000FB8")] private static readonly int[] DaysToMonth365; // Token: 0x04000FB9 RID: 4025 [Token(Token = "0x4000FB9")] private static readonly int[] DaysToMonth366; // Token: 0x04000FBA RID: 4026 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000FBA")] internal int MaxYear; } }