Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Globalization/ThaiBuddhistCalendar.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

426 lines
21 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Globalization
{
/// <summary>Represents the Thai Buddhist calendar.</summary>
// Token: 0x020002FB RID: 763
[Token(Token = "0x20002FB")]
[ComVisible(true)]
[Serializable]
public class ThaiBuddhistCalendar : Calendar
{
/// <summary>Gets the earliest date and time supported by the <see cref="T:System.Globalization.ThaiBuddhistCalendar" /> class.</summary>
/// <returns>The earliest date and time supported by the <see cref="T:System.Globalization.ThaiBuddhistCalendar" /> class, which is equivalent to the first moment of January 1, 0001 C.E. in the Gregorian calendar.</returns>
// 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);
}
}
/// <summary>Gets the latest date and time supported by the <see cref="T:System.Globalization.ThaiBuddhistCalendar" /> class.</summary>
/// <returns>The latest date and time supported by the <see cref="T:System.Globalization.ThaiBuddhistCalendar" /> class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.</returns>
// 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);
}
}
/// <summary>Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.</summary>
/// <returns>Always returns <see cref="F:System.Globalization.CalendarAlgorithmType.SolarCalendar" />.</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;
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.ThaiBuddhistCalendar" /> class.</summary>
// 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;
}
}
/// <summary>Returns a <see cref="T:System.DateTime" /> that is the specified number of months away from the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to which to add months.</param>
/// <param name="months">The number of months to add.</param>
/// <returns>The <see cref="T:System.DateTime" /> that results from adding the specified number of months to the specified <see cref="T:System.DateTime" />.</returns>
/// <exception cref="T:System.ArgumentException">The resulting <see cref="T:System.DateTime" /> is outside the supported range.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="months" /> is less than -120000.
/// -or-
/// <paramref name="months" /> is greater than 120000.</exception>
// 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);
}
/// <summary>Returns a <see cref="T:System.DateTime" /> that is the specified number of years away from the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to which to add years.</param>
/// <param name="years">The number of years to add.</param>
/// <returns>The <see cref="T:System.DateTime" /> that results from adding the specified number of years to the specified <see cref="T:System.DateTime" />.</returns>
/// <exception cref="T:System.ArgumentException">The resulting <see cref="T:System.DateTime" /> is outside the supported range.</exception>
// 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);
}
/// <summary>Returns the number of days in the specified month in the specified year in the specified era.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="month">An integer from 1 to 12 that represents the month.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>The number of days in the specified month in the specified year in the specified era.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="month" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="era" /> is outside the range supported by the calendar.</exception>
// 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;
}
/// <summary>Returns the number of days in the specified year in the specified era.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>The number of days in the specified year in the specified era.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="era" /> is outside the range supported by the calendar.</exception>
// 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;
}
/// <summary>Returns the day of the month in the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer from 1 to 31 that represents the day of the month in the specified <see cref="T:System.DateTime" />.</returns>
// 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;
}
/// <summary>Returns the day of the week in the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>A <see cref="T:System.DayOfWeek" /> value that represents the day of the week in the specified <see cref="T:System.DateTime" />.</returns>
// 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;
}
/// <summary>Returns the day of the year in the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer from 1 to 366 that represents the day of the year in the specified <see cref="T:System.DateTime" />.</returns>
// 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;
}
/// <summary>Returns the number of months in the specified year in the specified era.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>The number of months in the specified year in the specified era.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="era" /> is outside the range supported by the calendar.</exception>
// 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;
}
/// <summary>Returns the week of the year that includes the date in the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <param name="rule">One of the <see cref="T:System.Globalization.CalendarWeekRule" /> values that defines a calendar week.</param>
/// <param name="firstDayOfWeek">One of the <see cref="T:System.DayOfWeek" /> values that represents the first day of the week.</param>
/// <returns>A 1-based positive integer that represents the week of the year that includes the date in the <paramref name="time" /> parameter.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="time" /> or <paramref name="firstDayOfWeek" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="rule" /> is not a valid <see cref="T:System.Globalization.CalendarWeekRule" /> value.</exception>
// 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;
}
/// <summary>Returns the era in the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer that represents the era in the specified <see cref="T:System.DateTime" />.</returns>
// 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;
}
/// <summary>Returns the month in the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer from 1 to 12 that represents the month in the specified <see cref="T:System.DateTime" />.</returns>
// 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;
}
/// <summary>Returns the year in the specified <see cref="T:System.DateTime" />.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer that represents the year in the specified <see cref="T:System.DateTime" />.</returns>
// 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;
}
/// <summary>Determines whether the specified date in the specified era is a leap day.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="month">An integer from 1 to 12 that represents the month.</param>
/// <param name="day">An integer from 1 to 31 that represents the day.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>
/// <see langword="true" /> if the specified day is a leap day; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="month" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="day" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="era" /> is outside the range supported by the calendar.</exception>
// 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);
}
/// <summary>Determines whether the specified year in the specified era is a leap year.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>
/// <see langword="true" /> if the specified year is a leap year; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="era" /> is outside the range supported by the calendar.</exception>
// 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);
}
/// <summary>Calculates the leap month for a specified year and era.</summary>
/// <param name="year">A year.</param>
/// <param name="era">An era.</param>
/// <returns>The return value is always 0 because the <see cref="T:System.Globalization.ThaiBuddhistCalendar" /> class does not support the notion of a leap month.</returns>
// 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;
}
/// <summary>Determines whether the specified month in the specified year in the specified era is a leap month.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="month">An integer from 1 to 12 that represents the month.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>This method always returns <see langword="false" />, unless overridden by a derived class.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="month" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="era" /> is outside the range supported by the calendar.</exception>
// 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);
}
/// <summary>Returns a <see cref="T:System.DateTime" /> that is set to the specified date and time in the specified era.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="month">An integer from 1 to 12 that represents the month.</param>
/// <param name="day">An integer from 1 to 31 that represents the day.</param>
/// <param name="hour">An integer from 0 to 23 that represents the hour.</param>
/// <param name="minute">An integer from 0 to 59 that represents the minute.</param>
/// <param name="second">An integer from 0 to 59 that represents the second.</param>
/// <param name="millisecond">An integer from 0 to 999 that represents the millisecond.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>The <see cref="T:System.DateTime" /> that is set to the specified date and time in the current era.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="month" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="day" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="hour" /> is less than zero or greater than 23.
/// -or-
/// <paramref name="minute" /> is less than zero or greater than 59.
/// -or-
/// <paramref name="second" /> is less than zero or greater than 59.
/// -or-
/// <paramref name="millisecond" /> is less than zero or greater than 999.
/// -or-
/// <paramref name="era" /> is outside the range supported by the calendar.</exception>
// 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);
}
/// <summary>Gets the list of eras in the <see cref="T:System.Globalization.ThaiBuddhistCalendar" /> class.</summary>
/// <returns>An array that consists of a single element having a value that is always the current era.</returns>
// 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;
}
}
/// <summary>Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.</summary>
/// <returns>The last year of a 100-year range that can be represented by a 2-digit year.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified in a set operation is less than 99.
/// -or-
/// The value specified in a set operation is greater than <see langword="MaxSupportedDateTime.Year" />.</exception>
/// <exception cref="T:System.InvalidOperationException">In a set operation, the current instance is read-only.</exception>
// 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
{
}
}
/// <summary>Converts the specified year to a four-digit year by using the <see cref="P:System.Globalization.ThaiBuddhistCalendar.TwoDigitYearMax" /> property to determine the appropriate century.</summary>
/// <param name="year">A two-digit or four-digit integer that represents the year to convert.</param>
/// <returns>An integer that contains the four-digit representation of <paramref name="year" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by the calendar.</exception>
// 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;
/// <summary>Represents the current era. This field is constant.</summary>
// 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;
}
}