m
This commit is contained in:
@@ -0,0 +1,552 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Globalization
|
||||
{
|
||||
/// <summary>Represents the Hijri calendar.</summary>
|
||||
// Token: 0x020002EF RID: 751
|
||||
[Token(Token = "0x20002EF")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class HijriCalendar : Calendar
|
||||
{
|
||||
/// <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.HijriCalendar" /> type, which is equivalent to the first moment of July 18, 622 C.E. in the Gregorian calendar.</returns>
|
||||
// Token: 0x17000394 RID: 916
|
||||
// (get) Token: 0x06001C2D RID: 7213 RVA: 0x00012E70 File Offset: 0x00011070
|
||||
[Token(Token = "0x17000394")]
|
||||
[ComVisible(false)]
|
||||
public override DateTime MinSupportedDateTime
|
||||
{
|
||||
[Token(Token = "0x6001C2D")]
|
||||
[Address(RVA = "0xE2F370", Offset = "0xE2E370", VA = "0x180E2F370", 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.HijriCalendar" /> type, which is equivalent to the last moment of December 31, 9999 C.E. in the Gregorian calendar.</returns>
|
||||
// Token: 0x17000395 RID: 917
|
||||
// (get) Token: 0x06001C2E RID: 7214 RVA: 0x00012E88 File Offset: 0x00011088
|
||||
[Token(Token = "0x17000395")]
|
||||
[ComVisible(false)]
|
||||
public override DateTime MaxSupportedDateTime
|
||||
{
|
||||
[Token(Token = "0x6001C2E")]
|
||||
[Address(RVA = "0xE2F310", Offset = "0xE2E310", VA = "0x180E2F310", 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.LunarCalendar" />.</returns>
|
||||
// Token: 0x17000396 RID: 918
|
||||
// (get) Token: 0x06001C2F RID: 7215 RVA: 0x00012EA0 File Offset: 0x000110A0
|
||||
[Token(Token = "0x17000396")]
|
||||
[ComVisible(false)]
|
||||
public override CalendarAlgorithmType AlgorithmType
|
||||
{
|
||||
[Token(Token = "0x6001C2F")]
|
||||
[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.HijriCalendar" /> class.</summary>
|
||||
// Token: 0x06001C30 RID: 7216 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C30")]
|
||||
[Address(RVA = "0xE2F200", Offset = "0xE2E200", VA = "0x180E2F200")]
|
||||
public HijriCalendar()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000397 RID: 919
|
||||
// (get) Token: 0x06001C31 RID: 7217 RVA: 0x00012EB8 File Offset: 0x000110B8
|
||||
[Token(Token = "0x17000397")]
|
||||
internal override int ID
|
||||
{
|
||||
[Token(Token = "0x6001C31")]
|
||||
[Address(RVA = "0x62FA10", Offset = "0x62EA10", VA = "0x18062FA10", 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.HijriCalendar.MinSupportedDateTime" /> property.</summary>
|
||||
/// <returns>The number of days in the year that precedes the year specified by <see cref="P:System.Globalization.HijriCalendar.MinSupportedDateTime" />.</returns>
|
||||
// Token: 0x17000398 RID: 920
|
||||
// (get) Token: 0x06001C32 RID: 7218 RVA: 0x00012ED0 File Offset: 0x000110D0
|
||||
[Token(Token = "0x17000398")]
|
||||
protected override int DaysInYearBeforeMinSupportedYear
|
||||
{
|
||||
[Token(Token = "0x6001C32")]
|
||||
[Address(RVA = "0xE2F210", Offset = "0xE2E210", VA = "0x180E2F210", Slot = "24")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001C33 RID: 7219 RVA: 0x00012EE8 File Offset: 0x000110E8
|
||||
[Token(Token = "0x6001C33")]
|
||||
[Address(RVA = "0xE2E450", Offset = "0xE2D450", VA = "0x180E2E450")]
|
||||
private long GetAbsoluteDateHijri(int y, int m, int d)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x06001C34 RID: 7220 RVA: 0x00012F00 File Offset: 0x00011100
|
||||
[Token(Token = "0x6001C34")]
|
||||
[Address(RVA = "0xE2E390", Offset = "0xE2D390", VA = "0x180E2E390")]
|
||||
private long DaysUpToHijriYear(int HijriYear)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the number of days to add or subtract from the calendar to accommodate the variances in the start and the end of Ramadan and to accommodate the date difference between countries/regions.</summary>
|
||||
/// <returns>An integer from -2 to 2 that represents the number of days to add or subtract from the calendar.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The property is being set to an invalid value.</exception>
|
||||
// Token: 0x17000399 RID: 921
|
||||
// (get) Token: 0x06001C35 RID: 7221 RVA: 0x00012F18 File Offset: 0x00011118
|
||||
// (set) Token: 0x06001C36 RID: 7222 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000399")]
|
||||
public int HijriAdjustment
|
||||
{
|
||||
[Token(Token = "0x6001C35")]
|
||||
[Address(RVA = "0xE2F2B0", Offset = "0xE2E2B0", VA = "0x180E2F2B0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001C36")]
|
||||
[Address(RVA = "0xE2F410", Offset = "0xE2E410", VA = "0x180E2F410")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001C37 RID: 7223 RVA: 0x00012F30 File Offset: 0x00011130
|
||||
[Token(Token = "0x6001C37")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0")]
|
||||
private static int GetAdvanceHijriDate()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001C38 RID: 7224 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C38")]
|
||||
[Address(RVA = "0xE2DE40", Offset = "0xE2CE40", VA = "0x180E2DE40")]
|
||||
internal static void CheckTicksRange(long ticks)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C39 RID: 7225 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C39")]
|
||||
[Address(RVA = "0xE2DD90", Offset = "0xE2CD90", VA = "0x180E2DD90")]
|
||||
internal static void CheckEraRange(int era)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C3A RID: 7226 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C3A")]
|
||||
[Address(RVA = "0xE2E1C0", Offset = "0xE2D1C0", VA = "0x180E2E1C0")]
|
||||
internal static void CheckYearRange(int year, int era)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C3B RID: 7227 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001C3B")]
|
||||
[Address(RVA = "0xE2E030", Offset = "0xE2D030", VA = "0x180E2E030")]
|
||||
internal static void CheckYearMonthRange(int year, int month, int era)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001C3C RID: 7228 RVA: 0x00012F48 File Offset: 0x00011148
|
||||
[Token(Token = "0x6001C3C")]
|
||||
[Address(RVA = "0xE2E580", Offset = "0xE2D580", VA = "0x180E2E580", Slot = "41")]
|
||||
internal virtual int GetDatePart(long ticks, int part)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <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 add months to.</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" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="months" /> is less than -120000.
|
||||
/// -or-
|
||||
/// <paramref name="months" /> is greater than 120000.</exception>
|
||||
// Token: 0x06001C3D RID: 7229 RVA: 0x00012F60 File Offset: 0x00011160
|
||||
[Token(Token = "0x6001C3D")]
|
||||
[Address(RVA = "0xE2DAE0", Offset = "0xE2CAE0", VA = "0x180E2DAE0", 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 add years to.</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: 0x06001C3E RID: 7230 RVA: 0x00012F78 File Offset: 0x00011178
|
||||
[Token(Token = "0x6001C3E")]
|
||||
[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 30 that represents the day of the month in the specified <see cref="T:System.DateTime" />.</returns>
|
||||
// Token: 0x06001C3F RID: 7231 RVA: 0x00012F90 File Offset: 0x00011190
|
||||
[Token(Token = "0x6001C3F")]
|
||||
[Address(RVA = "0xE2AE30", Offset = "0xE29E30", VA = "0x180E2AE30", 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 the specified <see cref="T:System.DateTime" />.</returns>
|
||||
// Token: 0x06001C40 RID: 7232 RVA: 0x00012FA8 File Offset: 0x000111A8
|
||||
[Token(Token = "0x6001C40")]
|
||||
[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 355 that represents the day of the year in the specified <see cref="T:System.DateTime" />.</returns>
|
||||
// Token: 0x06001C41 RID: 7233 RVA: 0x00012FC0 File Offset: 0x000111C0
|
||||
[Token(Token = "0x6001C41")]
|
||||
[Address(RVA = "0xE2E830", Offset = "0xE2D830", VA = "0x180E2E830", Slot = "16")]
|
||||
public override int GetDayOfYear(DateTime time)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns 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 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 this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="year" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="month" /> is outside the range supported by this calendar.</exception>
|
||||
// Token: 0x06001C42 RID: 7234 RVA: 0x00012FD8 File Offset: 0x000111D8
|
||||
[Token(Token = "0x6001C42")]
|
||||
[Address(RVA = "0xE2E870", Offset = "0xE2D870", VA = "0x180E2E870", Slot = "18")]
|
||||
public override int GetDaysInMonth(int year, int month, int era)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns 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. 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 this calendar.</exception>
|
||||
// Token: 0x06001C43 RID: 7235 RVA: 0x00012FF0 File Offset: 0x000111F0
|
||||
[Token(Token = "0x6001C43")]
|
||||
[Address(RVA = "0xE2E930", Offset = "0xE2D930", VA = "0x180E2E930", 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 the specified <see cref="T:System.DateTime" />.</returns>
|
||||
// Token: 0x06001C44 RID: 7236 RVA: 0x00013008 File Offset: 0x00011208
|
||||
[Token(Token = "0x6001C44")]
|
||||
[Address(RVA = "0xE2E9D0", Offset = "0xE2D9D0", VA = "0x180E2E9D0", Slot = "20")]
|
||||
public override int GetEra(DateTime time)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Gets the list of eras in the <see cref="T:System.Globalization.HijriCalendar" />.</summary>
|
||||
/// <returns>An array of integers that represents the eras in the <see cref="T:System.Globalization.HijriCalendar" />.</returns>
|
||||
// Token: 0x1700039A RID: 922
|
||||
// (get) Token: 0x06001C45 RID: 7237 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700039A")]
|
||||
public override int[] Eras
|
||||
{
|
||||
[Token(Token = "0x6001C45")]
|
||||
[Address(RVA = "0xE2F220", Offset = "0xE2E220", VA = "0x180E2F220", Slot = "21")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <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: 0x06001C46 RID: 7238 RVA: 0x00013020 File Offset: 0x00011220
|
||||
[Token(Token = "0x6001C46")]
|
||||
[Address(RVA = "0xE2B450", Offset = "0xE2A450", VA = "0x180E2B450", Slot = "22")]
|
||||
public override int GetMonth(DateTime time)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns 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 and era.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="era" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="year" /> is outside the range supported by this calendar.</exception>
|
||||
// Token: 0x06001C47 RID: 7239 RVA: 0x00013038 File Offset: 0x00011238
|
||||
[Token(Token = "0x6001C47")]
|
||||
[Address(RVA = "0xE2EAC0", Offset = "0xE2DAC0", VA = "0x180E2EAC0", 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 the specified <see cref="T:System.DateTime" />.</returns>
|
||||
// Token: 0x06001C48 RID: 7240 RVA: 0x00013050 File Offset: 0x00011250
|
||||
[Token(Token = "0x6001C48")]
|
||||
[Address(RVA = "0xE2B580", Offset = "0xE2A580", VA = "0x180E2B580", Slot = "26")]
|
||||
public override int GetYear(DateTime time)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified date 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 30 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="era" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="year" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="month" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="day" /> is outside the range supported by this calendar.</exception>
|
||||
// Token: 0x06001C49 RID: 7241 RVA: 0x00013068 File Offset: 0x00011268
|
||||
[Token(Token = "0x6001C49")]
|
||||
[Address(RVA = "0xE2EB30", Offset = "0xE2DB30", VA = "0x180E2EB30", 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 cref="F:System.Globalization.Calendar.CurrentEra" /> or <see cref="F:System.Globalization.HijriCalendar.HijriEra" />.</param>
|
||||
/// <returns>Always 0 because the <see cref="T:System.Globalization.HijriCalendar" /> type does not support the notion of a leap month.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="year" /> is less than the Hijri calendar year 1 or greater than the year 9666.
|
||||
/// -or-
|
||||
/// <paramref name="era" /> is not <see cref="F:System.Globalization.Calendar.CurrentEra" /> or <see cref="F:System.Globalization.HijriCalendar.HijriEra" />.</exception>
|
||||
// Token: 0x06001C4A RID: 7242 RVA: 0x00013080 File Offset: 0x00011280
|
||||
[Token(Token = "0x6001C4A")]
|
||||
[Address(RVA = "0xE2EA50", Offset = "0xE2DA50", VA = "0x180E2EA50", Slot = "29")]
|
||||
[ComVisible(false)]
|
||||
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">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" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="era" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="year" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="month" /> is outside the range supported by this calendar.</exception>
|
||||
// Token: 0x06001C4B RID: 7243 RVA: 0x00013098 File Offset: 0x00011298
|
||||
[Token(Token = "0x6001C4B")]
|
||||
[Address(RVA = "0xE2EC90", Offset = "0xE2DC90", VA = "0x180E2EC90", 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="era" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="year" /> is outside the range supported by this calendar.</exception>
|
||||
// Token: 0x06001C4C RID: 7244 RVA: 0x000130B0 File Offset: 0x000112B0
|
||||
[Token(Token = "0x6001C4C")]
|
||||
[Address(RVA = "0xE2ED10", Offset = "0xE2DD10", VA = "0x180E2ED10", 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">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 30 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="era" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="year" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="month" /> is outside the range supported by this calendar.
|
||||
/// -or-
|
||||
/// <paramref name="day" /> is outside the range supported by this 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.</exception>
|
||||
// Token: 0x06001C4D RID: 7245 RVA: 0x000130C8 File Offset: 0x000112C8
|
||||
[Token(Token = "0x6001C4D")]
|
||||
[Address(RVA = "0xE2EDA0", Offset = "0xE2DDA0", VA = "0x180E2EDA0", 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">The value in a set operation is less than 100 or greater than 9666.</exception>
|
||||
// Token: 0x1700039B RID: 923
|
||||
// (get) Token: 0x06001C4E RID: 7246 RVA: 0x000130E0 File Offset: 0x000112E0
|
||||
// (set) Token: 0x06001C4F RID: 7247 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700039B")]
|
||||
public override int TwoDigitYearMax
|
||||
{
|
||||
[Token(Token = "0x6001C4E")]
|
||||
[Address(RVA = "0xE2F3D0", Offset = "0xE2E3D0", VA = "0x180E2F3D0", Slot = "38")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001C4F")]
|
||||
[Address(RVA = "0xE2F530", Offset = "0xE2E530", VA = "0x180E2F530", Slot = "39")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Converts the specified year to a four-digit year by using the <see cref="P:System.Globalization.HijriCalendar.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 this calendar.</exception>
|
||||
// Token: 0x06001C50 RID: 7248 RVA: 0x000130F8 File Offset: 0x000112F8
|
||||
[Token(Token = "0x6001C50")]
|
||||
[Address(RVA = "0xE2EF90", Offset = "0xE2DF90", VA = "0x180E2EF90", Slot = "40")]
|
||||
public override int ToFourDigitYear(int year)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Represents the current era. This field is constant.</summary>
|
||||
// Token: 0x04000F8D RID: 3981
|
||||
[Token(Token = "0x4000F8D")]
|
||||
public static readonly int HijriEra;
|
||||
|
||||
// Token: 0x04000F8E RID: 3982
|
||||
[Token(Token = "0x4000F8E")]
|
||||
internal const int DatePartYear = 0;
|
||||
|
||||
// Token: 0x04000F8F RID: 3983
|
||||
[Token(Token = "0x4000F8F")]
|
||||
internal const int DatePartDayOfYear = 1;
|
||||
|
||||
// Token: 0x04000F90 RID: 3984
|
||||
[Token(Token = "0x4000F90")]
|
||||
internal const int DatePartMonth = 2;
|
||||
|
||||
// Token: 0x04000F91 RID: 3985
|
||||
[Token(Token = "0x4000F91")]
|
||||
internal const int DatePartDay = 3;
|
||||
|
||||
// Token: 0x04000F92 RID: 3986
|
||||
[Token(Token = "0x4000F92")]
|
||||
internal const int MinAdvancedHijri = -2;
|
||||
|
||||
// Token: 0x04000F93 RID: 3987
|
||||
[Token(Token = "0x4000F93")]
|
||||
internal const int MaxAdvancedHijri = 2;
|
||||
|
||||
// Token: 0x04000F94 RID: 3988
|
||||
[Token(Token = "0x4000F94")]
|
||||
internal static readonly int[] HijriMonthDays;
|
||||
|
||||
// Token: 0x04000F95 RID: 3989
|
||||
[Token(Token = "0x4000F95")]
|
||||
private const string HijriAdvanceRegKeyEntry = "AddHijriDate";
|
||||
|
||||
// Token: 0x04000F96 RID: 3990
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000F96")]
|
||||
private int m_HijriAdvance;
|
||||
|
||||
// Token: 0x04000F97 RID: 3991
|
||||
[Token(Token = "0x4000F97")]
|
||||
internal const int MaxCalendarYear = 9666;
|
||||
|
||||
// Token: 0x04000F98 RID: 3992
|
||||
[Token(Token = "0x4000F98")]
|
||||
internal const int MaxCalendarMonth = 4;
|
||||
|
||||
// Token: 0x04000F99 RID: 3993
|
||||
[Token(Token = "0x4000F99")]
|
||||
internal const int MaxCalendarDay = 3;
|
||||
|
||||
// Token: 0x04000F9A RID: 3994
|
||||
[Token(Token = "0x4000F9A")]
|
||||
internal static readonly DateTime calendarMinValue;
|
||||
|
||||
// Token: 0x04000F9B RID: 3995
|
||||
[Token(Token = "0x4000F9B")]
|
||||
internal static readonly DateTime calendarMaxValue;
|
||||
|
||||
// Token: 0x04000F9C RID: 3996
|
||||
[Token(Token = "0x4000F9C")]
|
||||
private const int DEFAULT_TWO_DIGIT_YEAR_MAX = 1451;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user