258 lines
9.3 KiB
C#
258 lines
9.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Globalization
|
|
{
|
|
/// <summary>Represents time in divisions, such as months, days, and years. Years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar calendar.</summary>
|
|
// Token: 0x020002F4 RID: 756
|
|
[Token(Token = "0x20002F4")]
|
|
[Serializable]
|
|
public class KoreanLunisolarCalendar : EastAsianLunisolarCalendar
|
|
{
|
|
/// <summary>Gets the minimum date and time supported by the <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> class.</summary>
|
|
/// <returns>The earliest date and time supported by the <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> class, which is equivalent to the first moment of February 14, 918 C.E. in the Gregorian calendar.</returns>
|
|
// Token: 0x170003B9 RID: 953
|
|
// (get) Token: 0x06001CC3 RID: 7363 RVA: 0x00013908 File Offset: 0x00011B08
|
|
[Token(Token = "0x170003B9")]
|
|
public override DateTime MinSupportedDateTime
|
|
{
|
|
[Token(Token = "0x6001CC3")]
|
|
[Address(RVA = "0xE34CC0", Offset = "0xE33CC0", VA = "0x180E34CC0", Slot = "5")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the maximum date and time supported by the <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> class.</summary>
|
|
/// <returns>The latest date and time supported by the <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> class, which is equivalent to the last moment of February 10, 2051 C.E. in the Gregorian calendar.</returns>
|
|
// Token: 0x170003BA RID: 954
|
|
// (get) Token: 0x06001CC4 RID: 7364 RVA: 0x00013920 File Offset: 0x00011B20
|
|
[Token(Token = "0x170003BA")]
|
|
public override DateTime MaxSupportedDateTime
|
|
{
|
|
[Token(Token = "0x6001CC4")]
|
|
[Address(RVA = "0xE34BF0", Offset = "0xE33BF0", VA = "0x180E34BF0", Slot = "6")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the number of days in the year that precedes the year specified by the <see cref="P:System.Globalization.KoreanLunisolarCalendar.MinSupportedDateTime" /> property.</summary>
|
|
/// <returns>The number of days in the year that precedes the year specified by <see cref="P:System.Globalization.KoreanLunisolarCalendar.MinSupportedDateTime" />.</returns>
|
|
// Token: 0x170003BB RID: 955
|
|
// (get) Token: 0x06001CC5 RID: 7365 RVA: 0x00013938 File Offset: 0x00011B38
|
|
[Token(Token = "0x170003BB")]
|
|
protected override int DaysInYearBeforeMinSupportedYear
|
|
{
|
|
[Token(Token = "0x6001CC5")]
|
|
[Address(RVA = "0xD3D1A0", Offset = "0xD3C1A0", VA = "0x180D3D1A0", Slot = "24")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170003BC RID: 956
|
|
// (get) Token: 0x06001CC6 RID: 7366 RVA: 0x00013950 File Offset: 0x00011B50
|
|
[Token(Token = "0x170003BC")]
|
|
internal override int MinCalendarYear
|
|
{
|
|
[Token(Token = "0x6001CC6")]
|
|
[Address(RVA = "0xE34C50", Offset = "0xE33C50", VA = "0x180E34C50", Slot = "44")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170003BD RID: 957
|
|
// (get) Token: 0x06001CC7 RID: 7367 RVA: 0x00013968 File Offset: 0x00011B68
|
|
[Token(Token = "0x170003BD")]
|
|
internal override int MaxCalendarYear
|
|
{
|
|
[Token(Token = "0x6001CC7")]
|
|
[Address(RVA = "0xE34B80", Offset = "0xE33B80", VA = "0x180E34B80", Slot = "45")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170003BE RID: 958
|
|
// (get) Token: 0x06001CC8 RID: 7368 RVA: 0x00013980 File Offset: 0x00011B80
|
|
[Token(Token = "0x170003BE")]
|
|
internal override DateTime MinDate
|
|
{
|
|
[Token(Token = "0x6001CC8")]
|
|
[Address(RVA = "0xE34C60", Offset = "0xE33C60", VA = "0x180E34C60", Slot = "47")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170003BF RID: 959
|
|
// (get) Token: 0x06001CC9 RID: 7369 RVA: 0x00013998 File Offset: 0x00011B98
|
|
[Token(Token = "0x170003BF")]
|
|
internal override DateTime MaxDate
|
|
{
|
|
[Token(Token = "0x6001CC9")]
|
|
[Address(RVA = "0xE34B90", Offset = "0xE33B90", VA = "0x180E34B90", Slot = "48")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170003C0 RID: 960
|
|
// (get) Token: 0x06001CCA RID: 7370 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003C0")]
|
|
internal override EraInfo[] CalEraInfo
|
|
{
|
|
[Token(Token = "0x6001CCA")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "46")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001CCB RID: 7371 RVA: 0x000139B0 File Offset: 0x00011BB0
|
|
[Token(Token = "0x6001CCB")]
|
|
[Address(RVA = "0xE347C0", Offset = "0xE337C0", VA = "0x180E347C0", Slot = "41")]
|
|
internal override int GetYearInfo(int LunarYear, int Index)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001CCC RID: 7372 RVA: 0x000139C8 File Offset: 0x00011BC8
|
|
[Token(Token = "0x6001CCC")]
|
|
[Address(RVA = "0x5028A0", Offset = "0x5018A0", VA = "0x1805028A0", Slot = "42")]
|
|
internal override int GetYear(int year, DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001CCD RID: 7373 RVA: 0x000139E0 File Offset: 0x00011BE0
|
|
[Token(Token = "0x6001CCD")]
|
|
[Address(RVA = "0xE34660", Offset = "0xE33660", VA = "0x180E34660", Slot = "43")]
|
|
internal override int GetGregorianYear(int year, int era)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> class.</summary>
|
|
// Token: 0x06001CCE RID: 7374 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001CCE")]
|
|
[Address(RVA = "0xE34AC0", Offset = "0xE33AC0", VA = "0x180E34AC0")]
|
|
public KoreanLunisolarCalendar()
|
|
{
|
|
}
|
|
|
|
/// <summary>Retrieves the era that corresponds to 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 specified by the <paramref name="time" /> parameter. The return value for a <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> object is always the <see cref="F:System.Globalization.KoreanLunisolarCalendar.GregorianEra" /> value.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="time" /> represents a date and time less than <see cref="P:System.Globalization.KoreanLunisolarCalendar.MinSupportedDateTime" /> or greater than <see cref="P:System.Globalization.KoreanLunisolarCalendar.MaxSupportedDateTime" />.</exception>
|
|
// Token: 0x06001CCF RID: 7375 RVA: 0x000139F8 File Offset: 0x00011BF8
|
|
[Token(Token = "0x6001CCF")]
|
|
[Address(RVA = "0xD3CCA0", Offset = "0xD3BCA0", VA = "0x180D3CCA0", Slot = "20")]
|
|
public override int GetEra(DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x170003C1 RID: 961
|
|
// (get) Token: 0x06001CD0 RID: 7376 RVA: 0x00013A10 File Offset: 0x00011C10
|
|
[Token(Token = "0x170003C1")]
|
|
internal override int BaseCalendarID
|
|
{
|
|
[Token(Token = "0x6001CD0")]
|
|
[Address(RVA = "0x6271D0", Offset = "0x6261D0", VA = "0x1806271D0", Slot = "8")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170003C2 RID: 962
|
|
// (get) Token: 0x06001CD1 RID: 7377 RVA: 0x00013A28 File Offset: 0x00011C28
|
|
[Token(Token = "0x170003C2")]
|
|
internal override int ID
|
|
{
|
|
[Token(Token = "0x6001CD1")]
|
|
[Address(RVA = "0xC42C40", Offset = "0xC41C40", VA = "0x180C42C40", Slot = "7")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the eras that correspond to the range of dates and times supported by the current <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> object.</summary>
|
|
/// <returns>An array of 32-bit signed integers that specify the relevant eras. The return value for a <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> object is always an array containing one element equal to the <see cref="F:System.Globalization.KoreanLunisolarCalendar.GregorianEra" /> value.</returns>
|
|
// Token: 0x170003C3 RID: 963
|
|
// (get) Token: 0x06001CD2 RID: 7378 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170003C3")]
|
|
public override int[] Eras
|
|
{
|
|
[Token(Token = "0x6001CD2")]
|
|
[Address(RVA = "0xE34B20", Offset = "0xE33B20", VA = "0x180E34B20", Slot = "21")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Specifies the Gregorian era that corresponds to the current <see cref="T:System.Globalization.KoreanLunisolarCalendar" /> object.</summary>
|
|
// Token: 0x04000FBF RID: 4031
|
|
[Token(Token = "0x4000FBF")]
|
|
public const int GregorianEra = 1;
|
|
|
|
// Token: 0x04000FC0 RID: 4032
|
|
[Token(Token = "0x4000FC0")]
|
|
internal const int MIN_LUNISOLAR_YEAR = 918;
|
|
|
|
// Token: 0x04000FC1 RID: 4033
|
|
[Token(Token = "0x4000FC1")]
|
|
internal const int MAX_LUNISOLAR_YEAR = 2050;
|
|
|
|
// Token: 0x04000FC2 RID: 4034
|
|
[Token(Token = "0x4000FC2")]
|
|
internal const int MIN_GREGORIAN_YEAR = 918;
|
|
|
|
// Token: 0x04000FC3 RID: 4035
|
|
[Token(Token = "0x4000FC3")]
|
|
internal const int MIN_GREGORIAN_MONTH = 2;
|
|
|
|
// Token: 0x04000FC4 RID: 4036
|
|
[Token(Token = "0x4000FC4")]
|
|
internal const int MIN_GREGORIAN_DAY = 14;
|
|
|
|
// Token: 0x04000FC5 RID: 4037
|
|
[Token(Token = "0x4000FC5")]
|
|
internal const int MAX_GREGORIAN_YEAR = 2051;
|
|
|
|
// Token: 0x04000FC6 RID: 4038
|
|
[Token(Token = "0x4000FC6")]
|
|
internal const int MAX_GREGORIAN_MONTH = 2;
|
|
|
|
// Token: 0x04000FC7 RID: 4039
|
|
[Token(Token = "0x4000FC7")]
|
|
internal const int MAX_GREGORIAN_DAY = 10;
|
|
|
|
// Token: 0x04000FC8 RID: 4040
|
|
[Token(Token = "0x4000FC8")]
|
|
internal static DateTime minDate;
|
|
|
|
// Token: 0x04000FC9 RID: 4041
|
|
[Token(Token = "0x4000FC9")]
|
|
internal static DateTime maxDate;
|
|
|
|
// Token: 0x04000FCA RID: 4042
|
|
[Token(Token = "0x4000FCA")]
|
|
private static readonly int[,] yinfo;
|
|
}
|
|
}
|