using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Globalization { /// Represents the Thai Buddhist calendar. // Token: 0x020002FB RID: 763 [Token(Token = "0x20002FB")] [ComVisible(true)] [Serializable] public class ThaiBuddhistCalendar : 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: 0x170003F5 RID: 1013 // (get) Token: 0x06001D4E RID: 7502 RVA: 0x00014070 File Offset: 0x00012270 [Token(Token = "0x170003F5")] [ComVisible(false)] public override DateTime MinSupportedDateTime { [Token(Token = "0x6001D4E")] [Address(RVA = "0xE3BDA0", Offset = "0xE3ADA0", VA = "0x180E3BDA0", 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: 0x170003F6 RID: 1014 // (get) Token: 0x06001D4F RID: 7503 RVA: 0x00014088 File Offset: 0x00012288 [Token(Token = "0x170003F6")] [ComVisible(false)] public override DateTime MaxSupportedDateTime { [Token(Token = "0x6001D4F")] [Address(RVA = "0xE3BD40", Offset = "0xE3AD40", VA = "0x180E3BD40", Slot = "6")] get { return default(DateTime); } } /// Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both. /// Always returns . // Token: 0x170003F7 RID: 1015 // (get) Token: 0x06001D50 RID: 7504 RVA: 0x000140A0 File Offset: 0x000122A0 [Token(Token = "0x170003F7")] [ComVisible(false)] public override CalendarAlgorithmType AlgorithmType { [Token(Token = "0x6001D50")] [Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "9")] get { return CalendarAlgorithmType.Unknown; } } /// Initializes a new instance of the class. // Token: 0x06001D51 RID: 7505 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001D51")] [Address(RVA = "0xE3BCA0", Offset = "0xE3ACA0", VA = "0x180E3BCA0")] public ThaiBuddhistCalendar() { } // Token: 0x170003F8 RID: 1016 // (get) Token: 0x06001D52 RID: 7506 RVA: 0x000140B8 File Offset: 0x000122B8 [Token(Token = "0x170003F8")] internal override int ID { [Token(Token = "0x6001D52")] [Address(RVA = "0x4B30C0", Offset = "0x4B20C0", VA = "0x1804B30C0", Slot = "7")] get { return 0; } } /// 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: 0x06001D53 RID: 7507 RVA: 0x000140D0 File Offset: 0x000122D0 [Token(Token = "0x6001D53")] [Address(RVA = "0xE30A10", Offset = "0xE2FA10", VA = "0x180E30A10", 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: 0x06001D54 RID: 7508 RVA: 0x000140E8 File Offset: 0x000122E8 [Token(Token = "0x6001D54")] [Address(RVA = "0xE30A30", Offset = "0xE2FA30", VA = "0x180E30A30", Slot = "13")] public override DateTime AddYears(DateTime time, int years) { return default(DateTime); } /// 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: 0x06001D55 RID: 7509 RVA: 0x00014100 File Offset: 0x00012300 [Token(Token = "0x6001D55")] [Address(RVA = "0xE30D90", Offset = "0xE2FD90", VA = "0x180E30D90", 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: 0x06001D56 RID: 7510 RVA: 0x00014118 File Offset: 0x00012318 [Token(Token = "0x6001D56")] [Address(RVA = "0xE30DC0", Offset = "0xE2FDC0", VA = "0x180E30DC0", Slot = "19")] public override int GetDaysInYear(int year, int era) { 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 the specified . // Token: 0x06001D57 RID: 7511 RVA: 0x00014130 File Offset: 0x00012330 [Token(Token = "0x6001D57")] [Address(RVA = "0xE30CD0", Offset = "0xE2FCD0", VA = "0x180E30CD0", 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 the specified . // Token: 0x06001D58 RID: 7512 RVA: 0x00014148 File Offset: 0x00012348 [Token(Token = "0x6001D58")] [Address(RVA = "0xE30D20", Offset = "0xE2FD20", VA = "0x180E30D20", 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 the specified . // Token: 0x06001D59 RID: 7513 RVA: 0x00014160 File Offset: 0x00012360 [Token(Token = "0x6001D59")] [Address(RVA = "0xE30D40", Offset = "0xE2FD40", VA = "0x180E30D40", Slot = "16")] public override int GetDayOfYear(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: 0x06001D5A RID: 7514 RVA: 0x00014178 File Offset: 0x00012378 [Token(Token = "0x6001D5A")] [Address(RVA = "0xE31760", Offset = "0xE30760", VA = "0x180E31760", Slot = "23")] public override int GetMonthsInYear(int year, int era) { return 0; } /// Returns the week of the year that includes the date in the specified . /// The to read. /// One of the values that defines a calendar week. /// One of the values that represents the first day of the week. /// A 1-based positive integer that represents the week of the year that includes the date in the parameter. /// /// or is outside the range supported by the calendar. /// -or- /// is not a valid value. // Token: 0x06001D5B RID: 7515 RVA: 0x00014190 File Offset: 0x00012390 [Token(Token = "0x6001D5B")] [Address(RVA = "0xE31790", Offset = "0xE30790", VA = "0x180E31790", Slot = "25")] [ComVisible(false)] public override int GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek) { return 0; } /// Returns the era in the specified . /// The to read. /// An integer that represents the era in the specified . // Token: 0x06001D5C RID: 7516 RVA: 0x000141A8 File Offset: 0x000123A8 [Token(Token = "0x6001D5C")] [Address(RVA = "0xE316C0", Offset = "0xE306C0", VA = "0x180E316C0", 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 the specified . // Token: 0x06001D5D RID: 7517 RVA: 0x000141C0 File Offset: 0x000123C0 [Token(Token = "0x6001D5D")] [Address(RVA = "0xE31710", Offset = "0xE30710", VA = "0x180E31710", Slot = "22")] public override int GetMonth(DateTime time) { return 0; } /// Returns the year in the specified . /// The to read. /// An integer that represents the year in the specified . // Token: 0x06001D5E RID: 7518 RVA: 0x000141D8 File Offset: 0x000123D8 [Token(Token = "0x6001D5E")] [Address(RVA = "0xE317C0", Offset = "0xE307C0", VA = "0x180E317C0", 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: 0x06001D5F RID: 7519 RVA: 0x000141F0 File Offset: 0x000123F0 [Token(Token = "0x6001D5F")] [Address(RVA = "0xE317E0", Offset = "0xE307E0", VA = "0x180E317E0", Slot = "27")] public override bool IsLeapDay(int year, int month, int day, 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: 0x06001D60 RID: 7520 RVA: 0x00014208 File Offset: 0x00012408 [Token(Token = "0x6001D60")] [Address(RVA = "0xE31840", Offset = "0xE30840", VA = "0x180E31840", Slot = "31")] public override bool IsLeapYear(int year, int era) { return default(bool); } /// Calculates the leap month for a specified year and era. /// A year. /// An era. /// The return value is always 0 because the class does not support the notion of a leap month. // Token: 0x06001D61 RID: 7521 RVA: 0x00014220 File Offset: 0x00012420 [Token(Token = "0x6001D61")] [Address(RVA = "0xE316E0", Offset = "0xE306E0", VA = "0x180E316E0", 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: 0x06001D62 RID: 7522 RVA: 0x00014238 File Offset: 0x00012438 [Token(Token = "0x6001D62")] [Address(RVA = "0xE31810", Offset = "0xE30810", VA = "0x180E31810", Slot = "28")] public override bool IsLeapMonth(int year, int month, 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: 0x06001D63 RID: 7523 RVA: 0x00014250 File Offset: 0x00012450 [Token(Token = "0x6001D63")] [Address(RVA = "0xE31990", Offset = "0xE30990", VA = "0x180E31990", 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 the list of eras in the class. /// An array that consists of a single element having a value that is always the current era. // Token: 0x170003F9 RID: 1017 // (get) Token: 0x06001D64 RID: 7524 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170003F9")] public override int[] Eras { [Token(Token = "0x6001D64")] [Address(RVA = "0xE31CD0", Offset = "0xE30CD0", VA = "0x180E31CD0", Slot = "21")] get { return null; } } /// 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: 0x170003FA RID: 1018 // (get) Token: 0x06001D65 RID: 7525 RVA: 0x00014268 File Offset: 0x00012468 // (set) Token: 0x06001D66 RID: 7526 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003FA")] public override int TwoDigitYearMax { [Token(Token = "0x6001D65")] [Address(RVA = "0xE3BE00", Offset = "0xE3AE00", VA = "0x180E3BE00", Slot = "38")] get { return 0; } [Token(Token = "0x6001D66")] [Address(RVA = "0xE3BE40", Offset = "0xE3AE40", VA = "0x180E3BE40", 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: 0x06001D67 RID: 7527 RVA: 0x00014280 File Offset: 0x00012480 [Token(Token = "0x6001D67")] [Address(RVA = "0xE3BAC0", Offset = "0xE3AAC0", VA = "0x180E3BAC0", Slot = "40")] public override int ToFourDigitYear(int year) { return 0; } // Token: 0x04001021 RID: 4129 [Token(Token = "0x4001021")] internal static EraInfo[] thaiBuddhistEraInfo; /// Represents the current era. This field is constant. // Token: 0x04001022 RID: 4130 [Token(Token = "0x4001022")] public const int ThaiBuddhistEra = 1; // Token: 0x04001023 RID: 4131 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4001023")] internal GregorianCalendarHelper helper; // Token: 0x04001024 RID: 4132 [Token(Token = "0x4001024")] private const int DEFAULT_TWO_DIGIT_YEAR_MAX = 2572; } }