Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

331 lines
15 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Globalization
{
/// <summary>Represents the Japanese calendar.</summary>
// Token: 0x020002DE RID: 734
[Token(Token = "0x20002DE")]
[ComVisible(true)]
[Serializable]
public class JapaneseCalendar : Calendar
{
/// <summary>Gets the earliest date and time supported by the current <see cref="T:System.Globalization.JapaneseCalendar" /> object.</summary>
/// <returns>The earliest date and time supported by the <see cref="T:System.Globalization.JapaneseCalendar" /> type, which is equivalent to the first moment of September 8, 1868 C.E. in the Gregorian calendar.</returns>
// Token: 0x17000363 RID: 867
// (get) Token: 0x06001B18 RID: 6936 RVA: 0x00011BF8 File Offset: 0x0000FDF8
[Token(Token = "0x17000363")]
[ComVisible(false)]
public override DateTime MinSupportedDateTime
{
[Token(Token = "0x6001B18")]
[Address(RVA = "0x288F7B0", Offset = "0x288E5B0", VA = "0x18288F7B0", Slot = "5")]
get
{
return default(DateTime);
}
}
/// <summary>Gets the latest date and time supported by the current <see cref="T:System.Globalization.JapaneseCalendar" /> object.</summary>
/// <returns>The latest date and time supported by the <see cref="T:System.Globalization.JapaneseCalendar" /> type, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.</returns>
// Token: 0x17000364 RID: 868
// (get) Token: 0x06001B19 RID: 6937 RVA: 0x00011C10 File Offset: 0x0000FE10
[Token(Token = "0x17000364")]
[ComVisible(false)]
public override DateTime MaxSupportedDateTime
{
[Token(Token = "0x6001B19")]
[Address(RVA = "0x288F750", Offset = "0x288E550", VA = "0x18288F750", Slot = "6")]
get
{
return default(DateTime);
}
}
// Token: 0x06001B1A RID: 6938 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B1A")]
[Address(RVA = "0x288EEE0", Offset = "0x288DCE0", VA = "0x18288EEE0")]
internal static EraInfo[] GetEraInfo()
{
return null;
}
// Token: 0x06001B1B RID: 6939 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B1B")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630")]
private static EraInfo[] GetErasFromRegistry()
{
return null;
}
// Token: 0x06001B1C RID: 6940 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B1C")]
[Address(RVA = "0x288EDF0", Offset = "0x288DBF0", VA = "0x18288EDF0")]
internal static Calendar GetDefaultInstance()
{
return null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.JapaneseCalendar" /> class.</summary>
/// <exception cref="T:System.TypeInitializationException">Unable to initialize a <see cref="T:System.Globalization.JapaneseCalendar" /> object because of missing culture information.</exception>
// Token: 0x06001B1D RID: 6941 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001B1D")]
[Address(RVA = "0x288F610", Offset = "0x288E410", VA = "0x18288F610")]
public JapaneseCalendar()
{
}
// Token: 0x17000365 RID: 869
// (get) Token: 0x06001B1E RID: 6942 RVA: 0x00011C28 File Offset: 0x0000FE28
[Token(Token = "0x17000365")]
internal override int ID
{
[Token(Token = "0x6001B1E")]
[Address(RVA = "0x53A4A0", Offset = "0x5392A0", VA = "0x18053A4A0", 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: 0x06001B1F RID: 6943 RVA: 0x00011C40 File Offset: 0x0000FE40
[Token(Token = "0x6001B1F")]
[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: 0x06001B20 RID: 6944 RVA: 0x00011C58 File Offset: 0x0000FE58
[Token(Token = "0x6001B20")]
[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: 0x06001B21 RID: 6945 RVA: 0x00011C70 File Offset: 0x0000FE70
[Token(Token = "0x6001B21")]
[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 return value is always 12.</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: 0x06001B22 RID: 6946 RVA: 0x00011C88 File Offset: 0x0000FE88
[Token(Token = "0x6001B22")]
[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>
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting <see cref="T:System.DateTime" /> is outside the supported range.</exception>
// Token: 0x06001B23 RID: 6947 RVA: 0x00011CA0 File Offset: 0x0000FEA0
[Token(Token = "0x6001B23")]
[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: 0x06001B24 RID: 6948 RVA: 0x00011CB8 File Offset: 0x0000FEB8
[Token(Token = "0x6001B24")]
[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: 0x06001B25 RID: 6949 RVA: 0x00011CD0 File Offset: 0x0000FED0
[Token(Token = "0x6001B25")]
[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: 0x06001B26 RID: 6950 RVA: 0x00011CE8 File Offset: 0x0000FEE8
[Token(Token = "0x6001B26")]
[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: 0x06001B27 RID: 6951 RVA: 0x00011D00 File Offset: 0x0000FF00
[Token(Token = "0x6001B27")]
[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>Converts the specified year to a four-digit year by using the <see cref="P:System.Globalization.JapaneseCalendar.TwoDigitYearMax" /> property to determine the appropriate century.</summary>
/// <param name="year">An integer (usually two digits) 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: 0x06001B28 RID: 6952 RVA: 0x00011D18 File Offset: 0x0000FF18
[Token(Token = "0x6001B28")]
[Address(RVA = "0x288F420", Offset = "0x288E220", VA = "0x18288F420", Slot = "28")]
public override int ToFourDigitYear(int year)
{
return 0;
}
/// <summary>Gets the list of eras in the <see cref="T:System.Globalization.JapaneseCalendar" />.</summary>
/// <returns>An array of integers that represents the eras in the <see cref="T:System.Globalization.JapaneseCalendar" />.</returns>
// Token: 0x17000366 RID: 870
// (get) Token: 0x06001B29 RID: 6953 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000366")]
public override int[] Eras
{
[Token(Token = "0x6001B29")]
[Address(RVA = "0x288F730", Offset = "0x288E530", VA = "0x18288F730", Slot = "15")]
get
{
return null;
}
}
// Token: 0x06001B2A RID: 6954 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B2A")]
[Address(RVA = "0x288EC60", Offset = "0x288DA60", VA = "0x18288EC60")]
internal static string[] EraNames()
{
return null;
}
// Token: 0x06001B2B RID: 6955 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B2B")]
[Address(RVA = "0x288EA20", Offset = "0x288D820", VA = "0x18288EA20")]
internal static string[] AbbrevEraNames()
{
return null;
}
// Token: 0x06001B2C RID: 6956 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B2C")]
[Address(RVA = "0x288EB40", Offset = "0x288D940", VA = "0x18288EB40")]
internal static string[] EnglishEraNames()
{
return null;
}
// Token: 0x06001B2D RID: 6957 RVA: 0x00011D30 File Offset: 0x0000FF30
[Token(Token = "0x6001B2D")]
[Address(RVA = "0x288F3D0", Offset = "0x288E1D0", VA = "0x18288F3D0", Slot = "24")]
internal override bool IsValidYear(int year, int era)
{
return default(bool);
}
/// <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 8011 (or <see langword="MaxSupportedDateTime.Year" />).</exception>
/// <exception cref="T:System.InvalidOperationException">In a set operation, the current instance is read-only.</exception>
// Token: 0x17000367 RID: 871
// (get) Token: 0x06001B2E RID: 6958 RVA: 0x00011D48 File Offset: 0x0000FF48
[Token(Token = "0x17000367")]
public override int TwoDigitYearMax
{
[Token(Token = "0x6001B2E")]
[Address(RVA = "0x288F810", Offset = "0x288E610", VA = "0x18288F810", Slot = "27")]
get
{
return 0;
}
}
// Token: 0x04000F2C RID: 3884
[Token(Token = "0x4000F2C")]
internal static readonly DateTime calendarMinValue;
// Token: 0x04000F2D RID: 3885
[Token(Token = "0x4000F2D")]
internal static EraInfo[] japaneseEraInfo;
// Token: 0x04000F2E RID: 3886
[Token(Token = "0x4000F2E")]
internal static Calendar s_defaultInstance;
// Token: 0x04000F2F RID: 3887
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000F2F")]
internal GregorianCalendarHelper helper;
}
}