Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

438 lines
22 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Globalization
{
/// <summary>the Taiwan calendar.</summary>
// Token: 0x020002F8 RID: 760
[Token(Token = "0x20002F8")]
[ComVisible(true)]
[Serializable]
public class TaiwanCalendar : Calendar
{
// Token: 0x06001CFB RID: 7419 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001CFB")]
[Address(RVA = "0xE38730", Offset = "0xE37730", VA = "0x180E38730")]
internal static Calendar GetDefaultInstance()
{
return null;
}
/// <summary>Gets the earliest date and time supported by the <see cref="T:System.Globalization.TaiwanCalendar" /> class.</summary>
/// <returns>The earliest date and time supported by the <see cref="T:System.Globalization.TaiwanCalendar" /> class, which is equivalent to the first moment of January 1, 1912 C.E. in the Gregorian calendar.</returns>
// Token: 0x170003E0 RID: 992
// (get) Token: 0x06001CFC RID: 7420 RVA: 0x00013B18 File Offset: 0x00011D18
[Token(Token = "0x170003E0")]
[ComVisible(false)]
public override DateTime MinSupportedDateTime
{
[Token(Token = "0x6001CFC")]
[Address(RVA = "0xE38C90", Offset = "0xE37C90", VA = "0x180E38C90", Slot = "5")]
get
{
return default(DateTime);
}
}
/// <summary>Gets the latest date and time supported by the <see cref="T:System.Globalization.TaiwanCalendar" /> class.</summary>
/// <returns>The latest date and time supported by the <see cref="T:System.Globalization.TaiwanCalendar" /> class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.</returns>
// Token: 0x170003E1 RID: 993
// (get) Token: 0x06001CFD RID: 7421 RVA: 0x00013B30 File Offset: 0x00011D30
[Token(Token = "0x170003E1")]
[ComVisible(false)]
public override DateTime MaxSupportedDateTime
{
[Token(Token = "0x6001CFD")]
[Address(RVA = "0xE38C30", Offset = "0xE37C30", VA = "0x180E38C30", Slot = "6")]
get
{
return default(DateTime);
}
}
/// <summary>Gets a value that indicates 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: 0x170003E2 RID: 994
// (get) Token: 0x06001CFE RID: 7422 RVA: 0x00013B48 File Offset: 0x00011D48
[Token(Token = "0x170003E2")]
[ComVisible(false)]
public override CalendarAlgorithmType AlgorithmType
{
[Token(Token = "0x6001CFE")]
[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.TaiwanCalendar" /> class.</summary>
/// <exception cref="T:System.TypeInitializationException">Unable to initialize a <see cref="T:System.Globalization.TaiwanCalendar" /> object because of missing culture information.</exception>
// Token: 0x06001CFF RID: 7423 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001CFF")]
[Address(RVA = "0xE38B00", Offset = "0xE37B00", VA = "0x180E38B00")]
public TaiwanCalendar()
{
}
// Token: 0x170003E3 RID: 995
// (get) Token: 0x06001D00 RID: 7424 RVA: 0x00013B60 File Offset: 0x00011D60
[Token(Token = "0x170003E3")]
internal override int ID
{
[Token(Token = "0x6001D00")]
[Address(RVA = "0x680C20", Offset = "0x67FC20", VA = "0x180680C20", 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: 0x06001D01 RID: 7425 RVA: 0x00013B78 File Offset: 0x00011D78
[Token(Token = "0x6001D01")]
[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: 0x06001D02 RID: 7426 RVA: 0x00013B90 File Offset: 0x00011D90
[Token(Token = "0x6001D02")]
[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: 0x06001D03 RID: 7427 RVA: 0x00013BA8 File Offset: 0x00011DA8
[Token(Token = "0x6001D03")]
[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: 0x06001D04 RID: 7428 RVA: 0x00013BC0 File Offset: 0x00011DC0
[Token(Token = "0x6001D04")]
[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: 0x06001D05 RID: 7429 RVA: 0x00013BD8 File Offset: 0x00011DD8
[Token(Token = "0x6001D05")]
[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: 0x06001D06 RID: 7430 RVA: 0x00013BF0 File Offset: 0x00011DF0
[Token(Token = "0x6001D06")]
[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: 0x06001D07 RID: 7431 RVA: 0x00013C08 File Offset: 0x00011E08
[Token(Token = "0x6001D07")]
[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: 0x06001D08 RID: 7432 RVA: 0x00013C20 File Offset: 0x00011E20
[Token(Token = "0x6001D08")]
[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 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: 0x06001D09 RID: 7433 RVA: 0x00013C38 File Offset: 0x00011E38
[Token(Token = "0x6001D09")]
[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: 0x06001D0A RID: 7434 RVA: 0x00013C50 File Offset: 0x00011E50
[Token(Token = "0x6001D0A")]
[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: 0x06001D0B RID: 7435 RVA: 0x00013C68 File Offset: 0x00011E68
[Token(Token = "0x6001D0B")]
[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: 0x06001D0C RID: 7436 RVA: 0x00013C80 File Offset: 0x00011E80
[Token(Token = "0x6001D0C")]
[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: 0x06001D0D RID: 7437 RVA: 0x00013C98 File Offset: 0x00011E98
[Token(Token = "0x6001D0D")]
[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: 0x06001D0E RID: 7438 RVA: 0x00013CB0 File Offset: 0x00011EB0
[Token(Token = "0x6001D0E")]
[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.TaiwanCalendar" /> class does not support the notion of a leap month.</returns>
// Token: 0x06001D0F RID: 7439 RVA: 0x00013CC8 File Offset: 0x00011EC8
[Token(Token = "0x6001D0F")]
[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: 0x06001D10 RID: 7440 RVA: 0x00013CE0 File Offset: 0x00011EE0
[Token(Token = "0x6001D10")]
[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: 0x06001D11 RID: 7441 RVA: 0x00013CF8 File Offset: 0x00011EF8
[Token(Token = "0x6001D11")]
[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.TaiwanCalendar" />.</summary>
/// <returns>An array that consists of a single element for which the value is always the current era.</returns>
// Token: 0x170003E4 RID: 996
// (get) Token: 0x06001D12 RID: 7442 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170003E4")]
public override int[] Eras
{
[Token(Token = "0x6001D12")]
[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: 0x170003E5 RID: 997
// (get) Token: 0x06001D13 RID: 7443 RVA: 0x00013D10 File Offset: 0x00011F10
// (set) Token: 0x06001D14 RID: 7444 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003E5")]
public override int TwoDigitYearMax
{
[Token(Token = "0x6001D13")]
[Address(RVA = "0xE31DB0", Offset = "0xE30DB0", VA = "0x180E31DB0", Slot = "38")]
get
{
return 0;
}
[Token(Token = "0x6001D14")]
[Address(RVA = "0xE38CF0", Offset = "0xE37CF0", VA = "0x180E38CF0", Slot = "39")]
set
{
}
}
/// <summary>Converts the specified year to a four-digit year by using the <see cref="P:System.Globalization.TaiwanCalendar.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: 0x06001D15 RID: 7445 RVA: 0x00013D28 File Offset: 0x00011F28
[Token(Token = "0x6001D15")]
[Address(RVA = "0xE38820", Offset = "0xE37820", VA = "0x180E38820", Slot = "40")]
public override int ToFourDigitYear(int year)
{
return 0;
}
// Token: 0x04001003 RID: 4099
[Token(Token = "0x4001003")]
internal static EraInfo[] taiwanEraInfo;
// Token: 0x04001004 RID: 4100
[Token(Token = "0x4001004")]
internal static Calendar s_defaultInstance;
// Token: 0x04001005 RID: 4101
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001005")]
internal GregorianCalendarHelper helper;
// Token: 0x04001006 RID: 4102
[Token(Token = "0x4001006")]
internal static readonly DateTime calendarMinValue;
// Token: 0x04001007 RID: 4103
[Token(Token = "0x4001007")]
private const int DEFAULT_TWO_DIGIT_YEAR_MAX = 99;
}
}