282 lines
13 KiB
C#
282 lines
13 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Globalization
|
|
{
|
|
/// <summary>the Taiwan calendar.</summary>
|
|
// Token: 0x020002E2 RID: 738
|
|
[Token(Token = "0x20002E2")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class TaiwanCalendar : Calendar
|
|
{
|
|
// Token: 0x06001B57 RID: 6999 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001B57")]
|
|
[Address(RVA = "0x2891610", Offset = "0x2890410", VA = "0x182891610")]
|
|
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: 0x17000384 RID: 900
|
|
// (get) Token: 0x06001B58 RID: 7000 RVA: 0x00011E38 File Offset: 0x00010038
|
|
[Token(Token = "0x17000384")]
|
|
[ComVisible(false)]
|
|
public override DateTime MinSupportedDateTime
|
|
{
|
|
[Token(Token = "0x6001B58")]
|
|
[Address(RVA = "0x2891B60", Offset = "0x2890960", VA = "0x182891B60", 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: 0x17000385 RID: 901
|
|
// (get) Token: 0x06001B59 RID: 7001 RVA: 0x00011E50 File Offset: 0x00010050
|
|
[Token(Token = "0x17000385")]
|
|
[ComVisible(false)]
|
|
public override DateTime MaxSupportedDateTime
|
|
{
|
|
[Token(Token = "0x6001B59")]
|
|
[Address(RVA = "0x2891B00", Offset = "0x2890900", VA = "0x182891B00", Slot = "6")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
/// <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: 0x06001B5A RID: 7002 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001B5A")]
|
|
[Address(RVA = "0x28919D0", Offset = "0x28907D0", VA = "0x1828919D0")]
|
|
public TaiwanCalendar()
|
|
{
|
|
}
|
|
|
|
// Token: 0x17000386 RID: 902
|
|
// (get) Token: 0x06001B5B RID: 7003 RVA: 0x00011E68 File Offset: 0x00010068
|
|
[Token(Token = "0x17000386")]
|
|
internal override int ID
|
|
{
|
|
[Token(Token = "0x6001B5B")]
|
|
[Address(RVA = "0x4101C0", Offset = "0x40EFC0", VA = "0x1804101C0", Slot = "7")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <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: 0x06001B5C RID: 7004 RVA: 0x00011E80 File Offset: 0x00010080
|
|
[Token(Token = "0x6001B5C")]
|
|
[Address(RVA = "0x288EDC0", Offset = "0x288DBC0", VA = "0x18288EDC0", Slot = "13")]
|
|
public override int GetDaysInMonth(int year, int month, 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: 0x06001B5D RID: 7005 RVA: 0x00011E98 File Offset: 0x00010098
|
|
[Token(Token = "0x6001B5D")]
|
|
[Address(RVA = "0x288ED80", Offset = "0x288DB80", VA = "0x18288ED80", Slot = "11")]
|
|
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: 0x06001B5E RID: 7006 RVA: 0x00011EB0 File Offset: 0x000100B0
|
|
[Token(Token = "0x6001B5E")]
|
|
[Address(RVA = "0x288EDA0", Offset = "0x288DBA0", VA = "0x18288EDA0", Slot = "12")]
|
|
public override DayOfWeek GetDayOfWeek(DateTime time)
|
|
{
|
|
return DayOfWeek.Sunday;
|
|
}
|
|
|
|
/// <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: 0x06001B5F RID: 7007 RVA: 0x00011EC8 File Offset: 0x000100C8
|
|
[Token(Token = "0x6001B5F")]
|
|
[Address(RVA = "0x288F370", Offset = "0x288E170", VA = "0x18288F370", Slot = "17")]
|
|
public override int GetMonthsInYear(int year, int era)
|
|
{
|
|
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: 0x06001B60 RID: 7008 RVA: 0x00011EE0 File Offset: 0x000100E0
|
|
[Token(Token = "0x6001B60")]
|
|
[Address(RVA = "0x288F330", Offset = "0x288E130", VA = "0x18288F330", Slot = "14")]
|
|
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: 0x06001B61 RID: 7009 RVA: 0x00011EF8 File Offset: 0x000100F8
|
|
[Token(Token = "0x6001B61")]
|
|
[Address(RVA = "0x288F350", Offset = "0x288E150", VA = "0x18288F350", Slot = "16")]
|
|
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: 0x06001B62 RID: 7010 RVA: 0x00011F10 File Offset: 0x00010110
|
|
[Token(Token = "0x6001B62")]
|
|
[Address(RVA = "0x288F390", Offset = "0x288E190", VA = "0x18288F390", Slot = "18")]
|
|
public override int GetYear(DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <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: 0x06001B63 RID: 7011 RVA: 0x00011F28 File Offset: 0x00010128
|
|
[Token(Token = "0x6001B63")]
|
|
[Address(RVA = "0x288F3B0", Offset = "0x288E1B0", VA = "0x18288F3B0", Slot = "20")]
|
|
public override bool IsLeapYear(int year, 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: 0x06001B64 RID: 7012 RVA: 0x00011F40 File Offset: 0x00010140
|
|
[Token(Token = "0x6001B64")]
|
|
[Address(RVA = "0x288F3F0", Offset = "0x288E1F0", VA = "0x18288F3F0", 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);
|
|
}
|
|
|
|
/// <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: 0x17000387 RID: 903
|
|
// (get) Token: 0x06001B65 RID: 7013 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000387")]
|
|
public override int[] Eras
|
|
{
|
|
[Token(Token = "0x6001B65")]
|
|
[Address(RVA = "0x288F730", Offset = "0x288E530", VA = "0x18288F730", Slot = "15")]
|
|
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: 0x17000388 RID: 904
|
|
// (get) Token: 0x06001B66 RID: 7014 RVA: 0x00011F58 File Offset: 0x00010158
|
|
[Token(Token = "0x17000388")]
|
|
public override int TwoDigitYearMax
|
|
{
|
|
[Token(Token = "0x6001B66")]
|
|
[Address(RVA = "0x288F810", Offset = "0x288E610", VA = "0x18288F810", Slot = "27")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <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: 0x06001B67 RID: 7015 RVA: 0x00011F70 File Offset: 0x00010170
|
|
[Token(Token = "0x6001B67")]
|
|
[Address(RVA = "0x2891700", Offset = "0x2890500", VA = "0x182891700", Slot = "28")]
|
|
public override int ToFourDigitYear(int year)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x04000F68 RID: 3944
|
|
[Token(Token = "0x4000F68")]
|
|
internal static EraInfo[] taiwanEraInfo;
|
|
|
|
// Token: 0x04000F69 RID: 3945
|
|
[Token(Token = "0x4000F69")]
|
|
internal static Calendar s_defaultInstance;
|
|
|
|
// Token: 0x04000F6A RID: 3946
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000F6A")]
|
|
internal GregorianCalendarHelper helper;
|
|
|
|
// Token: 0x04000F6B RID: 3947
|
|
[Token(Token = "0x4000F6B")]
|
|
internal static readonly DateTime calendarMinValue;
|
|
}
|
|
}
|