This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,475 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Globalization
{
/// <summary>Represents the Julian calendar.</summary>
// Token: 0x020002F2 RID: 754
[Token(Token = "0x20002F2")]
[ComVisible(true)]
[Serializable]
public class JulianCalendar : Calendar
{
/// <summary>Gets the earliest date and time supported by the <see cref="T:System.Globalization.JulianCalendar" /> class.</summary>
/// <returns>The earliest date and time supported by the <see cref="T:System.Globalization.JulianCalendar" /> class, which is equivalent to the first moment of January 1, 0001 C.E. in the Gregorian calendar.</returns>
// Token: 0x170003AD RID: 941
// (get) Token: 0x06001C88 RID: 7304 RVA: 0x000134A0 File Offset: 0x000116A0
[Token(Token = "0x170003AD")]
[ComVisible(false)]
public override DateTime MinSupportedDateTime
{
[Token(Token = "0x6001C88")]
[Address(RVA = "0xE33F80", Offset = "0xE32F80", VA = "0x180E33F80", Slot = "5")]
get
{
return default(DateTime);
}
}
/// <summary>Gets the latest date and time supported by the <see cref="T:System.Globalization.JulianCalendar" /> class.</summary>
/// <returns>The latest date and time supported by the <see cref="T:System.Globalization.JulianCalendar" /> class, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.</returns>
// Token: 0x170003AE RID: 942
// (get) Token: 0x06001C89 RID: 7305 RVA: 0x000134B8 File Offset: 0x000116B8
[Token(Token = "0x170003AE")]
[ComVisible(false)]
public override DateTime MaxSupportedDateTime
{
[Token(Token = "0x6001C89")]
[Address(RVA = "0xE33F20", Offset = "0xE32F20", VA = "0x180E33F20", 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: 0x170003AF RID: 943
// (get) Token: 0x06001C8A RID: 7306 RVA: 0x000134D0 File Offset: 0x000116D0
[Token(Token = "0x170003AF")]
[ComVisible(false)]
public override CalendarAlgorithmType AlgorithmType
{
[Token(Token = "0x6001C8A")]
[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.JulianCalendar" /> class.</summary>
// Token: 0x06001C8B RID: 7307 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001C8B")]
[Address(RVA = "0xE33E60", Offset = "0xE32E60", VA = "0x180E33E60")]
public JulianCalendar()
{
}
// Token: 0x170003B0 RID: 944
// (get) Token: 0x06001C8C RID: 7308 RVA: 0x000134E8 File Offset: 0x000116E8
[Token(Token = "0x170003B0")]
internal override int ID
{
[Token(Token = "0x6001C8C")]
[Address(RVA = "0xAD7DE0", Offset = "0xAD6DE0", VA = "0x180AD7DE0", Slot = "7")]
get
{
return 0;
}
}
// Token: 0x06001C8D RID: 7309 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001C8D")]
[Address(RVA = "0xE32DB0", Offset = "0xE31DB0", VA = "0x180E32DB0")]
internal static void CheckEraRange(int era)
{
}
// Token: 0x06001C8E RID: 7310 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001C8E")]
[Address(RVA = "0xE32EE0", Offset = "0xE31EE0", VA = "0x180E32EE0")]
internal void CheckYearEraRange(int year, int era)
{
}
// Token: 0x06001C8F RID: 7311 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001C8F")]
[Address(RVA = "0xE32E60", Offset = "0xE31E60", VA = "0x180E32E60")]
internal static void CheckMonthRange(int month)
{
}
// Token: 0x06001C90 RID: 7312 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001C90")]
[Address(RVA = "0xE32B90", Offset = "0xE31B90", VA = "0x180E32B90")]
internal static void CheckDayRange(int year, int month, int day)
{
}
// Token: 0x06001C91 RID: 7313 RVA: 0x00013500 File Offset: 0x00011700
[Token(Token = "0x6001C91")]
[Address(RVA = "0xE331D0", Offset = "0xE321D0", VA = "0x180E331D0")]
internal static int GetDatePart(long ticks, int part)
{
return 0;
}
// Token: 0x06001C92 RID: 7314 RVA: 0x00013518 File Offset: 0x00011718
[Token(Token = "0x6001C92")]
[Address(RVA = "0xE330C0", Offset = "0xE320C0", VA = "0x180E330C0")]
internal static long DateToTicks(int year, int month, int day)
{
return 0L;
}
/// <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: 0x06001C93 RID: 7315 RVA: 0x00013530 File Offset: 0x00011730
[Token(Token = "0x6001C93")]
[Address(RVA = "0xE32780", Offset = "0xE31780", VA = "0x180E32780", 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: 0x06001C94 RID: 7316 RVA: 0x00013548 File Offset: 0x00011748
[Token(Token = "0x6001C94")]
[Address(RVA = "0xE27D50", Offset = "0xE26D50", VA = "0x180E27D50", Slot = "13")]
public override DateTime AddYears(DateTime time, int years)
{
return default(DateTime);
}
/// <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 <paramref name="time" />.</returns>
// Token: 0x06001C95 RID: 7317 RVA: 0x00013560 File Offset: 0x00011760
[Token(Token = "0x6001C95")]
[Address(RVA = "0xE33360", Offset = "0xE32360", VA = "0x180E33360", 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 <paramref name="time" />.</returns>
// Token: 0x06001C96 RID: 7318 RVA: 0x00013578 File Offset: 0x00011778
[Token(Token = "0x6001C96")]
[Address(RVA = "0xE28230", Offset = "0xE27230", VA = "0x180E28230", 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 <paramref name="time" />.</returns>
// Token: 0x06001C97 RID: 7319 RVA: 0x00013590 File Offset: 0x00011790
[Token(Token = "0x6001C97")]
[Address(RVA = "0xE333D0", Offset = "0xE323D0", VA = "0x180E333D0", Slot = "16")]
public override int GetDayOfYear(DateTime time)
{
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="era" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="year" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="month" /> is outside the range supported by the calendar.</exception>
// Token: 0x06001C98 RID: 7320 RVA: 0x000135A8 File Offset: 0x000117A8
[Token(Token = "0x6001C98")]
[Address(RVA = "0xE334B0", Offset = "0xE324B0", VA = "0x180E334B0", 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="era" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="year" /> is outside the range supported by the calendar.</exception>
// Token: 0x06001C99 RID: 7321 RVA: 0x000135C0 File Offset: 0x000117C0
[Token(Token = "0x6001C99")]
[Address(RVA = "0xE335F0", Offset = "0xE325F0", VA = "0x180E335F0", Slot = "19")]
public override int GetDaysInYear(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 <paramref name="time" />.</returns>
// Token: 0x06001C9A RID: 7322 RVA: 0x000135D8 File Offset: 0x000117D8
[Token(Token = "0x6001C9A")]
[Address(RVA = "0xE33620", Offset = "0xE32620", VA = "0x180E33620", 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 <paramref name="time" />.</returns>
// Token: 0x06001C9B RID: 7323 RVA: 0x000135F0 File Offset: 0x000117F0
[Token(Token = "0x6001C9B")]
[Address(RVA = "0xE336A0", Offset = "0xE326A0", VA = "0x180E336A0", Slot = "22")]
public override int GetMonth(DateTime time)
{
return 0;
}
/// <summary>Gets the list of eras in the <see cref="T:System.Globalization.JulianCalendar" />.</summary>
/// <returns>An array of integers that represents the eras in the <see cref="T:System.Globalization.JulianCalendar" />.</returns>
// Token: 0x170003B1 RID: 945
// (get) Token: 0x06001C9C RID: 7324 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170003B1")]
public override int[] Eras
{
[Token(Token = "0x6001C9C")]
[Address(RVA = "0xE33E90", Offset = "0xE32E90", VA = "0x180E33E90", Slot = "21")]
get
{
return null;
}
}
/// <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="era" /> is outside the range supported by the calendar.
/// -or-
/// <paramref name="year" /> is outside the range supported by the calendar.</exception>
// Token: 0x06001C9D RID: 7325 RVA: 0x00013608 File Offset: 0x00011808
[Token(Token = "0x6001C9D")]
[Address(RVA = "0xE33710", Offset = "0xE32710", VA = "0x180E33710", Slot = "23")]
public override int GetMonthsInYear(int year, int era)
{
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 <paramref name="time" />.</returns>
// Token: 0x06001C9E RID: 7326 RVA: 0x00013620 File Offset: 0x00011820
[Token(Token = "0x6001C9E")]
[Address(RVA = "0xE33730", Offset = "0xE32730", VA = "0x180E33730", 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: 0x06001C9F RID: 7327 RVA: 0x00013638 File Offset: 0x00011838
[Token(Token = "0x6001C9F")]
[Address(RVA = "0xE33820", Offset = "0xE32820", VA = "0x180E33820", Slot = "27")]
public override bool IsLeapDay(int year, int month, int day, int era)
{
return default(bool);
}
/// <summary>Calculates the leap month for a specified year and era.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>A positive integer that indicates the leap month in the specified year and era. Alternatively, this method returns zero if the calendar does not support a leap month, or if <paramref name="year" /> and <paramref name="era" /> do not specify a leap year.</returns>
// Token: 0x06001CA0 RID: 7328 RVA: 0x00013650 File Offset: 0x00011850
[Token(Token = "0x6001CA0")]
[Address(RVA = "0xE33680", Offset = "0xE32680", VA = "0x180E33680", 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: 0x06001CA1 RID: 7329 RVA: 0x00013668 File Offset: 0x00011868
[Token(Token = "0x6001CA1")]
[Address(RVA = "0xE33920", Offset = "0xE32920", VA = "0x180E33920", Slot = "28")]
public override bool IsLeapMonth(int year, int month, 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: 0x06001CA2 RID: 7330 RVA: 0x00013680 File Offset: 0x00011880
[Token(Token = "0x6001CA2")]
[Address(RVA = "0xE339B0", Offset = "0xE329B0", VA = "0x180E339B0", Slot = "31")]
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: 0x06001CA3 RID: 7331 RVA: 0x00013698 File Offset: 0x00011898
[Token(Token = "0x6001CA3")]
[Address(RVA = "0xE339E0", Offset = "0xE329E0", VA = "0x180E339E0", 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 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: 0x170003B2 RID: 946
// (get) Token: 0x06001CA4 RID: 7332 RVA: 0x000136B0 File Offset: 0x000118B0
// (set) Token: 0x06001CA5 RID: 7333 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003B2")]
public override int TwoDigitYearMax
{
[Token(Token = "0x6001CA4")]
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540", Slot = "38")]
get
{
return 0;
}
[Token(Token = "0x6001CA5")]
[Address(RVA = "0xE33FE0", Offset = "0xE32FE0", VA = "0x180E33FE0", Slot = "39")]
set
{
}
}
/// <summary>Converts the specified year to a four-digit year by using the <see cref="P:System.Globalization.JulianCalendar.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: 0x06001CA6 RID: 7334 RVA: 0x000136C8 File Offset: 0x000118C8
[Token(Token = "0x6001CA6")]
[Address(RVA = "0xE33C50", Offset = "0xE32C50", VA = "0x180E33C50", Slot = "40")]
public override int ToFourDigitYear(int year)
{
return 0;
}
/// <summary>Represents the current era. This field is constant.</summary>
// Token: 0x04000FB1 RID: 4017
[Token(Token = "0x4000FB1")]
public static readonly int JulianEra;
// Token: 0x04000FB2 RID: 4018
[Token(Token = "0x4000FB2")]
private const int DatePartYear = 0;
// Token: 0x04000FB3 RID: 4019
[Token(Token = "0x4000FB3")]
private const int DatePartDayOfYear = 1;
// Token: 0x04000FB4 RID: 4020
[Token(Token = "0x4000FB4")]
private const int DatePartMonth = 2;
// Token: 0x04000FB5 RID: 4021
[Token(Token = "0x4000FB5")]
private const int DatePartDay = 3;
// Token: 0x04000FB6 RID: 4022
[Token(Token = "0x4000FB6")]
private const int JulianDaysPerYear = 365;
// Token: 0x04000FB7 RID: 4023
[Token(Token = "0x4000FB7")]
private const int JulianDaysPer4Years = 1461;
// Token: 0x04000FB8 RID: 4024
[Token(Token = "0x4000FB8")]
private static readonly int[] DaysToMonth365;
// Token: 0x04000FB9 RID: 4025
[Token(Token = "0x4000FB9")]
private static readonly int[] DaysToMonth366;
// Token: 0x04000FBA RID: 4026
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000FBA")]
internal int MaxYear;
}
}