551 lines
28 KiB
C#
551 lines
28 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Globalization
|
|
{
|
|
/// <summary>Represents the Saudi Hijri (Um Al Qura) calendar.</summary>
|
|
// Token: 0x02000308 RID: 776
|
|
[Token(Token = "0x2000308")]
|
|
[Serializable]
|
|
public class UmAlQuraCalendar : Calendar
|
|
{
|
|
// Token: 0x06001D9F RID: 7583 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001D9F")]
|
|
[Address(RVA = "0x2BBC560", Offset = "0x2BBB560", VA = "0x182BBC560")]
|
|
private static UmAlQuraCalendar.DateMapping[] InitDateMapping()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the earliest date and time supported by this calendar.</summary>
|
|
/// <returns>The earliest date and time supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class, which is equivalent to the first moment of April 30, 1900 C.E. in the Gregorian calendar.</returns>
|
|
// Token: 0x17000408 RID: 1032
|
|
// (get) Token: 0x06001DA0 RID: 7584 RVA: 0x00014598 File Offset: 0x00012798
|
|
[Token(Token = "0x17000408")]
|
|
public override DateTime MinSupportedDateTime
|
|
{
|
|
[Token(Token = "0x6001DA0")]
|
|
[Address(RVA = "0x2BBD190", Offset = "0x2BBC190", VA = "0x182BBD190", Slot = "5")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the latest date and time supported by this calendar.</summary>
|
|
/// <returns>The latest date and time supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class, which is equivalent to the last moment of November 16, 2077 C.E. in the Gregorian calendar.</returns>
|
|
// Token: 0x17000409 RID: 1033
|
|
// (get) Token: 0x06001DA1 RID: 7585 RVA: 0x000145B0 File Offset: 0x000127B0
|
|
[Token(Token = "0x17000409")]
|
|
public override DateTime MaxSupportedDateTime
|
|
{
|
|
[Token(Token = "0x6001DA1")]
|
|
[Address(RVA = "0x2BBD130", Offset = "0x2BBC130", VA = "0x182BBD130", Slot = "6")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
/// <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.LunarCalendar" />.</returns>
|
|
// Token: 0x1700040A RID: 1034
|
|
// (get) Token: 0x06001DA2 RID: 7586 RVA: 0x000145C8 File Offset: 0x000127C8
|
|
[Token(Token = "0x1700040A")]
|
|
public override CalendarAlgorithmType AlgorithmType
|
|
{
|
|
[Token(Token = "0x6001DA2")]
|
|
[Address(RVA = "0x4E86A0", Offset = "0x4E76A0", VA = "0x1804E86A0", Slot = "9")]
|
|
get
|
|
{
|
|
return CalendarAlgorithmType.Unknown;
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</summary>
|
|
// Token: 0x06001DA3 RID: 7587 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DA3")]
|
|
[Address(RVA = "0xD50CE0", Offset = "0xD4FCE0", VA = "0x180D50CE0")]
|
|
public UmAlQuraCalendar()
|
|
{
|
|
}
|
|
|
|
// Token: 0x1700040B RID: 1035
|
|
// (get) Token: 0x06001DA4 RID: 7588 RVA: 0x000145E0 File Offset: 0x000127E0
|
|
[Token(Token = "0x1700040B")]
|
|
internal override int BaseCalendarID
|
|
{
|
|
[Token(Token = "0x6001DA4")]
|
|
[Address(RVA = "0x62FA10", Offset = "0x62EA10", VA = "0x18062FA10", Slot = "8")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700040C RID: 1036
|
|
// (get) Token: 0x06001DA5 RID: 7589 RVA: 0x000145F8 File Offset: 0x000127F8
|
|
[Token(Token = "0x1700040C")]
|
|
internal override int ID
|
|
{
|
|
[Token(Token = "0x6001DA5")]
|
|
[Address(RVA = "0xC458C0", Offset = "0xC448C0", VA = "0x180C458C0", Slot = "7")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the number of days in the year that precedes the year that is specified by the <see cref="P:System.Globalization.UmAlQuraCalendar.MinSupportedDateTime" /> property.</summary>
|
|
/// <returns>The number of days in the year that precedes the year specified by <see cref="P:System.Globalization.UmAlQuraCalendar.MinSupportedDateTime" />.</returns>
|
|
// Token: 0x1700040D RID: 1037
|
|
// (get) Token: 0x06001DA6 RID: 7590 RVA: 0x00014610 File Offset: 0x00012810
|
|
[Token(Token = "0x1700040D")]
|
|
protected override int DaysInYearBeforeMinSupportedYear
|
|
{
|
|
[Token(Token = "0x6001DA6")]
|
|
[Address(RVA = "0x2BBD0C0", Offset = "0x2BBC0C0", VA = "0x182BBD0C0", Slot = "24")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001DA7 RID: 7591 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DA7")]
|
|
[Address(RVA = "0x2BBBD90", Offset = "0x2BBAD90", VA = "0x182BBBD90")]
|
|
private static void ConvertHijriToGregorian(int HijriYear, int HijriMonth, int HijriDay, ref int yg, ref int mg, ref int dg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001DA8 RID: 7592 RVA: 0x00014628 File Offset: 0x00012828
|
|
[Token(Token = "0x6001DA8")]
|
|
[Address(RVA = "0x2BBBF00", Offset = "0x2BBAF00", VA = "0x182BBBF00")]
|
|
private static long GetAbsoluteDateUmAlQura(int year, int month, int day)
|
|
{
|
|
return 0L;
|
|
}
|
|
|
|
// Token: 0x06001DA9 RID: 7593 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DA9")]
|
|
[Address(RVA = "0x2BBB6A0", Offset = "0x2BBA6A0", VA = "0x182BBB6A0")]
|
|
internal static void CheckTicksRange(long ticks)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001DAA RID: 7594 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DAA")]
|
|
[Address(RVA = "0x2BBB620", Offset = "0x2BBA620", VA = "0x182BBB620")]
|
|
internal static void CheckEraRange(int era)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001DAB RID: 7595 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DAB")]
|
|
[Address(RVA = "0x2BBB930", Offset = "0x2BBA930", VA = "0x182BBB930")]
|
|
internal static void CheckYearRange(int year, int era)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001DAC RID: 7596 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DAC")]
|
|
[Address(RVA = "0x2BBB870", Offset = "0x2BBA870", VA = "0x182BBB870")]
|
|
internal static void CheckYearMonthRange(int year, int month, int era)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001DAD RID: 7597 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DAD")]
|
|
[Address(RVA = "0x2BBBAC0", Offset = "0x2BBAAC0", VA = "0x182BBBAC0")]
|
|
private static void ConvertGregorianToHijri(DateTime time, ref int HijriYear, ref int HijriMonth, ref int HijriDay)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001DAE RID: 7598 RVA: 0x00014640 File Offset: 0x00012840
|
|
[Token(Token = "0x6001DAE")]
|
|
[Address(RVA = "0x2BBC0C0", Offset = "0x2BBB0C0", VA = "0x182BBC0C0", Slot = "41")]
|
|
internal virtual int GetDatePart(DateTime time, int part)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates a date that is a specified number of months away from a specified initial date.</summary>
|
|
/// <param name="time">The date to which to add months. The <see cref="T:System.Globalization.UmAlQuraCalendar" /> class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).</param>
|
|
/// <param name="months">The positive or negative number of months to add.</param>
|
|
/// <returns>The date yielded by adding the number of months specified by the <paramref name="months" /> parameter to the date specified by the <paramref name="time" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The resulting date is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="months" /> is less than -120,000 or greater than 120,000.
|
|
/// -or-
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DAF RID: 7599 RVA: 0x00014658 File Offset: 0x00012858
|
|
[Token(Token = "0x6001DAF")]
|
|
[Address(RVA = "0x2BBB360", Offset = "0x2BBA360", VA = "0x182BBB360", Slot = "12")]
|
|
public override DateTime AddMonths(DateTime time, int months)
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
|
|
/// <summary>Calculates a date that is a specified number of years away from a specified initial date.</summary>
|
|
/// <param name="time">The date to which to add years. The <see cref="T:System.Globalization.UmAlQuraCalendar" /> class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).</param>
|
|
/// <param name="years">The positive or negative number of years to add.</param>
|
|
/// <returns>The date yielded by adding the number of years specified by the <paramref name="years" /> parameter to the date specified by the <paramref name="time" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The resulting date is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="years" /> is less than -10,000 or greater than 10,000.
|
|
/// -or-
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DB0 RID: 7600 RVA: 0x00014670 File Offset: 0x00012870
|
|
[Token(Token = "0x6001DB0")]
|
|
[Address(RVA = "0xE27D50", Offset = "0xE26D50", VA = "0x180E27D50", Slot = "13")]
|
|
public override DateTime AddYears(DateTime time, int years)
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
|
|
/// <summary>Calculates the day of the month on which a specified date occurs.</summary>
|
|
/// <param name="time">The date value to read. The <see cref="T:System.Globalization.UmAlQuraCalendar" /> class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).</param>
|
|
/// <returns>An integer from 1 through 30 that represents the day of the month specified by the <paramref name="time" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DB1 RID: 7601 RVA: 0x00014688 File Offset: 0x00012888
|
|
[Token(Token = "0x6001DB1")]
|
|
[Address(RVA = "0x2BBC250", Offset = "0x2BBB250", VA = "0x182BBC250", Slot = "14")]
|
|
public override int GetDayOfMonth(DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the day of the week on which a specified date occurs.</summary>
|
|
/// <param name="time">The date value to read. The <see cref="T:System.Globalization.UmAlQuraCalendar" /> class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).</param>
|
|
/// <returns>A <see cref="T:System.DayOfWeek" /> value that represents the day of the week specified by the <paramref name="time" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DB2 RID: 7602 RVA: 0x000146A0 File Offset: 0x000128A0
|
|
[Token(Token = "0x6001DB2")]
|
|
[Address(RVA = "0xE28230", Offset = "0xE27230", VA = "0x180E28230", Slot = "15")]
|
|
public override DayOfWeek GetDayOfWeek(DateTime time)
|
|
{
|
|
return DayOfWeek.Sunday;
|
|
}
|
|
|
|
/// <summary>Calculates the day of the year on which a specified date occurs.</summary>
|
|
/// <param name="time">The date value to read. The <see cref="T:System.Globalization.UmAlQuraCalendar" /> class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).</param>
|
|
/// <returns>An integer from 1 through 355 that represents the day of the year specified by the <paramref name="time" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DB3 RID: 7603 RVA: 0x000146B8 File Offset: 0x000128B8
|
|
[Token(Token = "0x6001DB3")]
|
|
[Address(RVA = "0x2BBC270", Offset = "0x2BBB270", VA = "0x182BBC270", Slot = "16")]
|
|
public override int GetDayOfYear(DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the number of days in the specified month of the specified year and era.</summary>
|
|
/// <param name="year">A year.</param>
|
|
/// <param name="month">An integer from 1 through 12 that represents a month.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
|
|
/// <returns>The number of days in the specified month in the specified year and era. The return value is 29 in a common year and 30 in a leap year.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="year" />, <paramref name="month" />, or <paramref name="era" /> is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</exception>
|
|
// Token: 0x06001DB4 RID: 7604 RVA: 0x000146D0 File Offset: 0x000128D0
|
|
[Token(Token = "0x6001DB4")]
|
|
[Address(RVA = "0x2BBC290", Offset = "0x2BBB290", VA = "0x182BBC290", Slot = "18")]
|
|
public override int GetDaysInMonth(int year, int month, int era)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001DB5 RID: 7605 RVA: 0x000146E8 File Offset: 0x000128E8
|
|
[Token(Token = "0x6001DB5")]
|
|
[Address(RVA = "0x2BBC980", Offset = "0x2BBB980", VA = "0x182BBC980")]
|
|
internal static int RealGetDaysInYear(int year)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the number of days in the specified year of the specified era.</summary>
|
|
/// <param name="year">A year.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
|
|
/// <returns>The number of days in the specified year and era. The number of days is 354 in a common year or 355 in a leap year.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="year" /> or <paramref name="era" /> is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</exception>
|
|
// Token: 0x06001DB6 RID: 7606 RVA: 0x00014700 File Offset: 0x00012900
|
|
[Token(Token = "0x6001DB6")]
|
|
[Address(RVA = "0x2BBC360", Offset = "0x2BBB360", VA = "0x182BBC360", Slot = "19")]
|
|
public override int GetDaysInYear(int year, int era)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the era in which a specified date occurs.</summary>
|
|
/// <param name="time">The date value to read.</param>
|
|
/// <returns>Always returns the <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" /> value.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DB7 RID: 7607 RVA: 0x00014718 File Offset: 0x00012918
|
|
[Token(Token = "0x6001DB7")]
|
|
[Address(RVA = "0x2BBC3D0", Offset = "0x2BBB3D0", VA = "0x182BBC3D0", Slot = "20")]
|
|
public override int GetEra(DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Gets a list of the eras that are supported by the current <see cref="T:System.Globalization.UmAlQuraCalendar" />.</summary>
|
|
/// <returns>An array that consists of a single element having a value that is <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</returns>
|
|
// Token: 0x1700040E RID: 1038
|
|
// (get) Token: 0x06001DB8 RID: 7608 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700040E")]
|
|
public override int[] Eras
|
|
{
|
|
[Token(Token = "0x6001DB8")]
|
|
[Address(RVA = "0x2BBD0D0", Offset = "0x2BBC0D0", VA = "0x182BBD0D0", Slot = "21")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Calculates the month in which a specified date occurs.</summary>
|
|
/// <param name="time">The date value to read. The <see cref="T:System.Globalization.UmAlQuraCalendar" /> class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).</param>
|
|
/// <returns>An integer from 1 through 12 that represents the month in the date specified by the <paramref name="time" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DB9 RID: 7609 RVA: 0x00014730 File Offset: 0x00012930
|
|
[Token(Token = "0x6001DB9")]
|
|
[Address(RVA = "0x2BBC4B0", Offset = "0x2BBB4B0", VA = "0x182BBC4B0", Slot = "22")]
|
|
public override int GetMonth(DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the number of months in the specified year of the specified era.</summary>
|
|
/// <param name="year">A year.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuaraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
|
|
/// <returns>Always 12.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="year" /> is outside the range supported by this calendar.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="era" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DBA RID: 7610 RVA: 0x00014748 File Offset: 0x00012948
|
|
[Token(Token = "0x6001DBA")]
|
|
[Address(RVA = "0x2BBC4D0", Offset = "0x2BBB4D0", VA = "0x182BBC4D0", Slot = "23")]
|
|
public override int GetMonthsInYear(int year, int era)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Calculates the year of a date represented by a specified <see cref="T:System.DateTime" />.</summary>
|
|
/// <param name="time">The date value to read. The <see cref="T:System.Globalization.UmAlQuraCalendar" /> class supports only dates from 04/30/1900 00.00.00 (Gregorian date) through 11/16/2077 23:59:59 (Gregorian date).</param>
|
|
/// <returns>An integer that represents the year specified by the <paramref name="time" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="time" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DBB RID: 7611 RVA: 0x00014760 File Offset: 0x00012960
|
|
[Token(Token = "0x6001DBB")]
|
|
[Address(RVA = "0x2BBC540", Offset = "0x2BBB540", VA = "0x182BBC540", Slot = "26")]
|
|
public override int GetYear(DateTime time)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Determines whether the specified date is a leap day.</summary>
|
|
/// <param name="year">A year.</param>
|
|
/// <param name="month">An integer from 1 through 12 that represents a month.</param>
|
|
/// <param name="day">An integer from 1 through 30 that represents a day.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the specified day is a leap day; otherwise, <see langword="false" />. The return value is always <see langword="false" /> because the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class does not support leap days.</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 the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</exception>
|
|
// Token: 0x06001DBC RID: 7612 RVA: 0x00014778 File Offset: 0x00012978
|
|
[Token(Token = "0x6001DBC")]
|
|
[Address(RVA = "0x2BBC710", Offset = "0x2BBB710", VA = "0x182BBC710", 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">A year.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
|
|
/// <returns>Always 0 because the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class does not support leap months.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="year" /> is less than 1318 or greater than 1450.
|
|
/// -or-
|
|
/// <paramref name="era" /> is not <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</exception>
|
|
// Token: 0x06001DBD RID: 7613 RVA: 0x00014790 File Offset: 0x00012990
|
|
[Token(Token = "0x6001DBD")]
|
|
[Address(RVA = "0x2BBC440", Offset = "0x2BBB440", VA = "0x182BBC440", Slot = "29")]
|
|
public override int GetLeapMonth(int year, int era)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Determines whether the specified month in the specified year and era is a leap month.</summary>
|
|
/// <param name="year">A year.</param>
|
|
/// <param name="month">An integer from 1 through 12 that represents a month.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
|
|
/// <returns>Always <see langword="false" /> because the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class does not support leap months.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="year" />, <paramref name="month" />, or <paramref name="era" /> is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</exception>
|
|
// Token: 0x06001DBE RID: 7614 RVA: 0x000147A8 File Offset: 0x000129A8
|
|
[Token(Token = "0x6001DBE")]
|
|
[Address(RVA = "0x2BBC890", Offset = "0x2BBB890", VA = "0x182BBC890", 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">A year.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</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 the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.</exception>
|
|
// Token: 0x06001DBF RID: 7615 RVA: 0x000147C0 File Offset: 0x000129C0
|
|
[Token(Token = "0x6001DBF")]
|
|
[Address(RVA = "0x2BBC910", Offset = "0x2BBB910", VA = "0x182BBC910", 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, time, and era.</summary>
|
|
/// <param name="year">A year.</param>
|
|
/// <param name="month">An integer from 1 through 12 that represents a month.</param>
|
|
/// <param name="day">An integer from 1 through 29 that represents a day.</param>
|
|
/// <param name="hour">An integer from 0 through 23 that represents an hour.</param>
|
|
/// <param name="minute">An integer from 0 through 59 that represents a minute.</param>
|
|
/// <param name="second">An integer from 0 through 59 that represents a second.</param>
|
|
/// <param name="millisecond">An integer from 0 through 999 that represents a millisecond.</param>
|
|
/// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</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" />, <paramref name="month" />, <paramref name="day" />, or <paramref name="era" /> is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class.
|
|
/// -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.</exception>
|
|
// Token: 0x06001DC0 RID: 7616 RVA: 0x000147D8 File Offset: 0x000129D8
|
|
[Token(Token = "0x6001DC0")]
|
|
[Address(RVA = "0x2BBCA40", Offset = "0x2BBBA40", VA = "0x182BBCA40", 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.InvalidOperationException">This calendar is read-only.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the Um Al Qura calendar year value is less than 1318 but not 99, or is greater than 1450.</exception>
|
|
// Token: 0x1700040F RID: 1039
|
|
// (get) Token: 0x06001DC1 RID: 7617 RVA: 0x000147F0 File Offset: 0x000129F0
|
|
// (set) Token: 0x06001DC2 RID: 7618 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700040F")]
|
|
public override int TwoDigitYearMax
|
|
{
|
|
[Token(Token = "0x6001DC1")]
|
|
[Address(RVA = "0xE2F3D0", Offset = "0xE2E3D0", VA = "0x180E2F3D0", Slot = "38")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
[Token(Token = "0x6001DC2")]
|
|
[Address(RVA = "0x2BBD1F0", Offset = "0x2BBC1F0", VA = "0x182BBD1F0", Slot = "39")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Converts the specified year to a four-digit year by using the <see cref="P:System.Globalization.UmAlQuraCalendar.TwoDigitYearMax" /> property to determine the appropriate century.</summary>
|
|
/// <param name="year">A 2-digit year from 0 through 99, or a 4-digit Um Al Qura calendar year from 1318 through 1450.</param>
|
|
/// <returns>If the <paramref name="year" /> parameter is a 2-digit year, the return value is the corresponding 4-digit year. If the <paramref name="year" /> parameter is a 4-digit year, the return value is the unchanged <paramref name="year" /> parameter.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="year" /> is outside the range supported by this calendar.</exception>
|
|
// Token: 0x06001DC3 RID: 7619 RVA: 0x00014808 File Offset: 0x00012A08
|
|
[Token(Token = "0x6001DC3")]
|
|
[Address(RVA = "0x2BBCC80", Offset = "0x2BBBC80", VA = "0x182BBCC80", Slot = "40")]
|
|
public override int ToFourDigitYear(int year)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x04001060 RID: 4192
|
|
[Token(Token = "0x4001060")]
|
|
internal const int MinCalendarYear = 1318;
|
|
|
|
// Token: 0x04001061 RID: 4193
|
|
[Token(Token = "0x4001061")]
|
|
internal const int MaxCalendarYear = 1500;
|
|
|
|
// Token: 0x04001062 RID: 4194
|
|
[Token(Token = "0x4001062")]
|
|
private static readonly UmAlQuraCalendar.DateMapping[] HijriYearInfo;
|
|
|
|
/// <summary>Represents the current era. This field is constant.</summary>
|
|
// Token: 0x04001063 RID: 4195
|
|
[Token(Token = "0x4001063")]
|
|
public const int UmAlQuraEra = 1;
|
|
|
|
// Token: 0x04001064 RID: 4196
|
|
[Token(Token = "0x4001064")]
|
|
internal const int DateCycle = 30;
|
|
|
|
// Token: 0x04001065 RID: 4197
|
|
[Token(Token = "0x4001065")]
|
|
internal const int DatePartYear = 0;
|
|
|
|
// Token: 0x04001066 RID: 4198
|
|
[Token(Token = "0x4001066")]
|
|
internal const int DatePartDayOfYear = 1;
|
|
|
|
// Token: 0x04001067 RID: 4199
|
|
[Token(Token = "0x4001067")]
|
|
internal const int DatePartMonth = 2;
|
|
|
|
// Token: 0x04001068 RID: 4200
|
|
[Token(Token = "0x4001068")]
|
|
internal const int DatePartDay = 3;
|
|
|
|
// Token: 0x04001069 RID: 4201
|
|
[Token(Token = "0x4001069")]
|
|
internal static DateTime minDate;
|
|
|
|
// Token: 0x0400106A RID: 4202
|
|
[Token(Token = "0x400106A")]
|
|
internal static DateTime maxDate;
|
|
|
|
// Token: 0x0400106B RID: 4203
|
|
[Token(Token = "0x400106B")]
|
|
private const int DEFAULT_TWO_DIGIT_YEAR_MAX = 1451;
|
|
|
|
// Token: 0x02000309 RID: 777
|
|
[Token(Token = "0x2000309")]
|
|
internal struct DateMapping
|
|
{
|
|
// Token: 0x06001DC5 RID: 7621 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001DC5")]
|
|
[Address(RVA = "0x2BA8D30", Offset = "0x2BA7D30", VA = "0x182BA8D30")]
|
|
internal DateMapping(int MonthsLengthFlags, int GYear, int GMonth, int GDay)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400106C RID: 4204
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400106C")]
|
|
internal int HijriMonthsLengthFlags;
|
|
|
|
// Token: 0x0400106D RID: 4205
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x400106D")]
|
|
internal DateTime GregorianDate;
|
|
}
|
|
}
|
|
}
|