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

460 lines
21 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Globalization
{
/// <summary>Represents a calendar that divides time into months, days, years, and eras, and has dates that are based on cycles of the sun and the moon.</summary>
// Token: 0x020002E2 RID: 738
[Token(Token = "0x20002E2")]
[ComVisible(true)]
[Serializable]
public abstract class EastAsianLunisolarCalendar : Calendar
{
/// <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.LunisolarCalendar" />.</returns>
// Token: 0x1700037E RID: 894
// (get) Token: 0x06001B94 RID: 7060 RVA: 0x00012420 File Offset: 0x00010620
[Token(Token = "0x1700037E")]
public override CalendarAlgorithmType AlgorithmType
{
[Token(Token = "0x6001B94")]
[Address(RVA = "0x4DB5B0", Offset = "0x4DA5B0", VA = "0x1804DB5B0", Slot = "9")]
get
{
return CalendarAlgorithmType.Unknown;
}
}
// Token: 0x06001B95 RID: 7061
[Token(Token = "0x6001B95")]
[Address(Slot = "41")]
internal abstract int GetYearInfo(int LunarYear, int Index);
// Token: 0x06001B96 RID: 7062
[Token(Token = "0x6001B96")]
[Address(Slot = "42")]
internal abstract int GetYear(int year, DateTime time);
// Token: 0x06001B97 RID: 7063
[Token(Token = "0x6001B97")]
[Address(Slot = "43")]
internal abstract int GetGregorianYear(int year, int era);
// Token: 0x1700037F RID: 895
// (get) Token: 0x06001B98 RID: 7064
[Token(Token = "0x1700037F")]
internal abstract int MinCalendarYear
{
[Token(Token = "0x6001B98")]
[Address(Slot = "44")]
get;
}
// Token: 0x17000380 RID: 896
// (get) Token: 0x06001B99 RID: 7065
[Token(Token = "0x17000380")]
internal abstract int MaxCalendarYear
{
[Token(Token = "0x6001B99")]
[Address(Slot = "45")]
get;
}
// Token: 0x17000381 RID: 897
// (get) Token: 0x06001B9A RID: 7066
[Token(Token = "0x17000381")]
internal abstract EraInfo[] CalEraInfo
{
[Token(Token = "0x6001B9A")]
[Address(Slot = "46")]
get;
}
// Token: 0x17000382 RID: 898
// (get) Token: 0x06001B9B RID: 7067
[Token(Token = "0x17000382")]
internal abstract DateTime MinDate
{
[Token(Token = "0x6001B9B")]
[Address(Slot = "47")]
get;
}
// Token: 0x17000383 RID: 899
// (get) Token: 0x06001B9C RID: 7068
[Token(Token = "0x17000383")]
internal abstract DateTime MaxDate
{
[Token(Token = "0x6001B9C")]
[Address(Slot = "48")]
get;
}
// Token: 0x06001B9D RID: 7069 RVA: 0x00012438 File Offset: 0x00010638
[Token(Token = "0x6001B9D")]
[Address(RVA = "0xD50620", Offset = "0xD4F620", VA = "0x180D50620")]
internal int MinEraCalendarYear(int era)
{
return 0;
}
// Token: 0x06001B9E RID: 7070 RVA: 0x00012450 File Offset: 0x00010650
[Token(Token = "0x6001B9E")]
[Address(RVA = "0xD50450", Offset = "0xD4F450", VA = "0x180D50450")]
internal int MaxEraCalendarYear(int era)
{
return 0;
}
// Token: 0x06001B9F RID: 7071 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001B9F")]
[Address(RVA = "0xD50CE0", Offset = "0xD4FCE0", VA = "0x180D50CE0")]
internal EastAsianLunisolarCalendar()
{
}
// Token: 0x06001BA0 RID: 7072 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001BA0")]
[Address(RVA = "0xD4EC90", Offset = "0xD4DC90", VA = "0x180D4EC90")]
internal void CheckTicksRange(long ticks)
{
}
// Token: 0x06001BA1 RID: 7073 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001BA1")]
[Address(RVA = "0xD4EBA0", Offset = "0xD4DBA0", VA = "0x180D4EBA0")]
internal void CheckEraRange(int era)
{
}
// Token: 0x06001BA2 RID: 7074 RVA: 0x00012468 File Offset: 0x00010668
[Token(Token = "0x6001BA2")]
[Address(RVA = "0xD4EF30", Offset = "0xD4DF30", VA = "0x180D4EF30")]
internal int CheckYearRange(int year, int era)
{
return 0;
}
// Token: 0x06001BA3 RID: 7075 RVA: 0x00012480 File Offset: 0x00010680
[Token(Token = "0x6001BA3")]
[Address(RVA = "0xD4EE10", Offset = "0xD4DE10", VA = "0x180D4EE10")]
internal int CheckYearMonthRange(int year, int month, int era)
{
return 0;
}
// Token: 0x06001BA4 RID: 7076 RVA: 0x00012498 File Offset: 0x00010698
[Token(Token = "0x6001BA4")]
[Address(RVA = "0xD4FD90", Offset = "0xD4ED90", VA = "0x180D4FD90")]
internal int InternalGetDaysInMonth(int year, int month)
{
return 0;
}
/// <summary>Calculates the number of days in the specified month of the specified year and era.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="month">An integer from 1 through 12 in a common year, or 1 through 13 in a leap year, that represents the month.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>The number of days in the specified month of the specified year and era.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" />, <paramref name="month" />, or <paramref name="era" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BA5 RID: 7077 RVA: 0x000124B0 File Offset: 0x000106B0
[Token(Token = "0x6001BA5")]
[Address(RVA = "0xD4F500", Offset = "0xD4E500", VA = "0x180D4F500", Slot = "18")]
public override int GetDaysInMonth(int year, int month, int era)
{
return 0;
}
// Token: 0x06001BA6 RID: 7078 RVA: 0x000124C8 File Offset: 0x000106C8
[Token(Token = "0x6001BA6")]
[Address(RVA = "0xD4F950", Offset = "0xD4E950", VA = "0x180D4F950")]
private static int GregorianIsLeapYear(int y)
{
return 0;
}
/// <summary>Returns a <see cref="T:System.DateTime" /> that is set to the specified date, time, and era.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="month">An integer from 1 through 13 that represents the month.</param>
/// <param name="day">An integer from 1 through 31 that represents the day.</param>
/// <param name="hour">An integer from 0 through 23 that represents the hour.</param>
/// <param name="minute">An integer from 0 through 59 that represents the minute.</param>
/// <param name="second">An integer from 0 through 59 that represents the second.</param>
/// <param name="millisecond">An integer from 0 through 999 that represents the millisecond.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>A <see cref="T:System.DateTime" /> that is set to the specified date, time, and era.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" />, <paramref name="month" />, <paramref name="day" />, <paramref name="hour" />, <paramref name="minute" />, <paramref name="second" />, <paramref name="millisecond" />, or <paramref name="era" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BA7 RID: 7079 RVA: 0x000124E0 File Offset: 0x000106E0
[Token(Token = "0x6001BA7")]
[Address(RVA = "0xD50910", Offset = "0xD4F910", VA = "0x180D50910", 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);
}
// Token: 0x06001BA8 RID: 7080 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001BA8")]
[Address(RVA = "0xD4F9B0", Offset = "0xD4E9B0", VA = "0x180D4F9B0")]
internal void GregorianToLunar(int nSYear, int nSMonth, int nSDate, ref int nLYear, ref int nLMonth, ref int nLDate)
{
}
// Token: 0x06001BA9 RID: 7081 RVA: 0x000124F8 File Offset: 0x000106F8
[Token(Token = "0x6001BA9")]
[Address(RVA = "0xD50040", Offset = "0xD4F040", VA = "0x180D50040")]
internal bool LunarToGregorian(int nLYear, int nLMonth, int nLDate, ref int nSolarYear, ref int nSolarMonth, ref int nSolarDay)
{
return default(bool);
}
// Token: 0x06001BAA RID: 7082 RVA: 0x00012510 File Offset: 0x00010710
[Token(Token = "0x6001BAA")]
[Address(RVA = "0xD50300", Offset = "0xD4F300", VA = "0x180D50300")]
internal DateTime LunarToTime(DateTime time, int year, int month, int day)
{
return default(DateTime);
}
// Token: 0x06001BAB RID: 7083 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001BAB")]
[Address(RVA = "0xD507F0", Offset = "0xD4F7F0", VA = "0x180D507F0")]
internal void TimeToLunar(DateTime time, ref int year, ref int month, ref int day)
{
}
/// <summary>Calculates the date that is the specified number of months away from the specified date.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to which to add <paramref name="months" />.</param>
/// <param name="months">The number of months to add.</param>
/// <returns>A new <see cref="T:System.DateTime" /> that results from adding the specified number of months to the <paramref name="time" /> parameter.</returns>
/// <exception cref="T:System.ArgumentException">The result is outside the supported range of a <see cref="T:System.DateTime" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="months" /> is less than -120000 or greater than 120000.
/// -or-
/// <paramref name="time" /> is less than <see cref="P:System.Globalization.Calendar.MinSupportedDateTime" /> or greater than <see cref="P:System.Globalization.Calendar.MaxSupportedDateTime" />.</exception>
// Token: 0x06001BAC RID: 7084 RVA: 0x00012528 File Offset: 0x00010728
[Token(Token = "0x6001BAC")]
[Address(RVA = "0xD4E580", Offset = "0xD4D580", VA = "0x180D4E580", Slot = "12")]
public override DateTime AddMonths(DateTime time, int months)
{
return default(DateTime);
}
/// <summary>Calculates the date that is the specified number of years away from the specified date.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to which to add <paramref name="years" />.</param>
/// <param name="years">The number of years to add.</param>
/// <returns>A new <see cref="T:System.DateTime" /> that results from adding the specified number of years to the <paramref name="time" /> parameter.</returns>
/// <exception cref="T:System.ArgumentException">The result is outside the supported range of a <see cref="T:System.DateTime" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="time" /> is less than <see cref="P:System.Globalization.Calendar.MinSupportedDateTime" /> or greater than <see cref="P:System.Globalization.Calendar.MaxSupportedDateTime" />.</exception>
// Token: 0x06001BAD RID: 7085 RVA: 0x00012540 File Offset: 0x00010740
[Token(Token = "0x6001BAD")]
[Address(RVA = "0xD4E940", Offset = "0xD4D940", VA = "0x180D4E940", Slot = "13")]
public override DateTime AddYears(DateTime time, int years)
{
return default(DateTime);
}
/// <summary>Calculates the day of the year in the specified date.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer from 1 through 354 in a common year, or 1 through 384 in a leap year, that represents the day of the year specified in the <paramref name="time" /> parameter.</returns>
// Token: 0x06001BAE RID: 7086 RVA: 0x00012558 File Offset: 0x00010758
[Token(Token = "0x6001BAE")]
[Address(RVA = "0xD4F340", Offset = "0xD4E340", VA = "0x180D4F340", Slot = "16")]
public override int GetDayOfYear(DateTime time)
{
return 0;
}
/// <summary>Calculates the day of the month in the specified date.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer from 1 through 31 that represents the day of the month specified in the <paramref name="time" /> parameter.</returns>
// Token: 0x06001BAF RID: 7087 RVA: 0x00012570 File Offset: 0x00010770
[Token(Token = "0x6001BAF")]
[Address(RVA = "0xD4F180", Offset = "0xD4E180", VA = "0x180D4F180", Slot = "14")]
public override int GetDayOfMonth(DateTime time)
{
return 0;
}
/// <summary>Calculates the number of days in the 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>The number of days in the specified year and era.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> or <paramref name="era" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BB0 RID: 7088 RVA: 0x00012588 File Offset: 0x00010788
[Token(Token = "0x6001BB0")]
[Address(RVA = "0xD4F570", Offset = "0xD4E570", VA = "0x180D4F570", Slot = "19")]
public override int GetDaysInYear(int year, int era)
{
return 0;
}
/// <summary>Returns the month in the specified date.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>An integer from 1 to 13 that represents the month specified in the <paramref name="time" /> parameter.</returns>
// Token: 0x06001BB1 RID: 7089 RVA: 0x000125A0 File Offset: 0x000107A0
[Token(Token = "0x6001BB1")]
[Address(RVA = "0xD4F660", Offset = "0xD4E660", VA = "0x180D4F660", Slot = "22")]
public override int GetMonth(DateTime time)
{
return 0;
}
/// <summary>Returns the year in the specified date.</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: 0x06001BB2 RID: 7090 RVA: 0x000125B8 File Offset: 0x000107B8
[Token(Token = "0x6001BB2")]
[Address(RVA = "0xD4F7F0", Offset = "0xD4E7F0", VA = "0x180D4F7F0", Slot = "26")]
public override int GetYear(DateTime time)
{
return 0;
}
/// <summary>Calculates the day of the week in the specified date.</summary>
/// <param name="time">The <see cref="T:System.DateTime" /> to read.</param>
/// <returns>One of the <see cref="T:System.DayOfWeek" /> values that represents the day of the week specified in the <paramref name="time" /> parameter.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="time" /> is less than <see cref="P:System.Globalization.Calendar.MinSupportedDateTime" /> or greater than <see cref="P:System.Globalization.Calendar.MaxSupportedDateTime" />.</exception>
// Token: 0x06001BB3 RID: 7091 RVA: 0x000125D0 File Offset: 0x000107D0
[Token(Token = "0x6001BB3")]
[Address(RVA = "0xD4F2D0", Offset = "0xD4E2D0", VA = "0x180D4F2D0", Slot = "15")]
public override DayOfWeek GetDayOfWeek(DateTime time)
{
return DayOfWeek.Sunday;
}
/// <summary>Calculates the number of months in the 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>The number of months in the specified year in the specified era. The return value is 12 months in a common year or 13 months in a leap year.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> or <paramref name="era" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BB4 RID: 7092 RVA: 0x000125E8 File Offset: 0x000107E8
[Token(Token = "0x6001BB4")]
[Address(RVA = "0xD4F7B0", Offset = "0xD4E7B0", VA = "0x180D4F7B0", Slot = "23")]
public override int GetMonthsInYear(int year, int era)
{
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 through 13 that represents the month.</param>
/// <param name="day">An integer from 1 through 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" />, <paramref name="month" />, <paramref name="day" />, or <paramref name="era" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BB5 RID: 7093 RVA: 0x00012600 File Offset: 0x00010800
[Token(Token = "0x6001BB5")]
[Address(RVA = "0xD4FE00", Offset = "0xD4EE00", VA = "0x180D4FE00", Slot = "27")]
public override bool IsLeapDay(int year, int month, int day, int era)
{
return default(bool);
}
/// <summary>Determines whether the specified month in the specified year and era is a leap month.</summary>
/// <param name="year">An integer that represents the year.</param>
/// <param name="month">An integer from 1 through 13 that represents the month.</param>
/// <param name="era">An integer that represents the era.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="month" /> parameter is a leap month; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" />, <paramref name="month" />, or <paramref name="era" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BB6 RID: 7094 RVA: 0x00012618 File Offset: 0x00010818
[Token(Token = "0x6001BB6")]
[Address(RVA = "0xD4FFA0", Offset = "0xD4EFA0", VA = "0x180D4FFA0", Slot = "28")]
public override bool IsLeapMonth(int year, int month, int era)
{
return default(bool);
}
/// <summary>Calculates the leap month for the 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 from 1 through 13 that indicates the leap month in the specified year and era.
/// -or-
/// Zero if this calendar does not support a leap month, or if the <paramref name="year" /> and <paramref name="era" /> parameters do not specify a leap year.</returns>
// Token: 0x06001BB7 RID: 7095 RVA: 0x00012630 File Offset: 0x00010830
[Token(Token = "0x6001BB7")]
[Address(RVA = "0xD4F620", Offset = "0xD4E620", VA = "0x180D4F620", Slot = "29")]
public override int GetLeapMonth(int year, int era)
{
return 0;
}
// Token: 0x06001BB8 RID: 7096 RVA: 0x00012648 File Offset: 0x00010848
[Token(Token = "0x6001BB8")]
[Address(RVA = "0xD4FDD0", Offset = "0xD4EDD0", VA = "0x180D4FDD0")]
internal bool InternalIsLeapYear(int year)
{
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" /> or <paramref name="era" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BB9 RID: 7097 RVA: 0x00012660 File Offset: 0x00010860
[Token(Token = "0x6001BB9")]
[Address(RVA = "0xD50000", Offset = "0xD4F000", VA = "0x180D50000", Slot = "31")]
public override bool IsLeapYear(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.InvalidOperationException">The current <see cref="T:System.Globalization.EastAsianLunisolarCalendar" /> is read-only.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than 99 or greater than the maximum supported year in the current calendar.</exception>
// Token: 0x17000384 RID: 900
// (get) Token: 0x06001BBA RID: 7098 RVA: 0x00012678 File Offset: 0x00010878
// (set) Token: 0x06001BBB RID: 7099 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000384")]
public override int TwoDigitYearMax
{
[Token(Token = "0x6001BBA")]
[Address(RVA = "0xD50CF0", Offset = "0xD4FCF0", VA = "0x180D50CF0", Slot = "38")]
get
{
return 0;
}
[Token(Token = "0x6001BBB")]
[Address(RVA = "0xD50D70", Offset = "0xD4FD70", VA = "0x180D50D70", Slot = "39")]
set
{
}
}
/// <summary>Converts the specified year to a four-digit year.</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 the <paramref name="year" /> parameter.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="year" /> is outside the range supported by this calendar.</exception>
// Token: 0x06001BBC RID: 7100 RVA: 0x00012690 File Offset: 0x00010890
[Token(Token = "0x6001BBC")]
[Address(RVA = "0xD50BA0", Offset = "0xD4FBA0", VA = "0x180D50BA0", Slot = "40")]
public override int ToFourDigitYear(int year)
{
return 0;
}
// Token: 0x04000F29 RID: 3881
[Token(Token = "0x4000F29")]
internal static readonly int[] DaysToMonth365;
// Token: 0x04000F2A RID: 3882
[Token(Token = "0x4000F2A")]
internal static readonly int[] DaysToMonth366;
}
}