0x00x0028
Members 2
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | thaiBuddhistEraInfo | EraInfo[] | Static+1 flags | — | |
| 0x08 | helper | GregorianCalendarHelper | 1 flags | — |
Inherited from Calendar 42
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x08 | TicksPerMillisecond | long | Static+2 flags | 10000 |
| — | 0x08 | TicksPerSecond | long | Static+2 flags | 10000000 |
| — | 0x08 | TicksPerMinute | long | Static+2 flags | 600000000 |
| — | 0x08 | TicksPerHour | long | Static+2 flags | 36000000000 |
| — | 0x08 | TicksPerDay | long | Static+2 flags | 864000000000 |
| — | 0x04 | MillisPerSecond | int | Static+2 flags | 1000 |
| — | 0x04 | MillisPerMinute | int | Static+2 flags | 60000 |
| — | 0x04 | MillisPerHour | int | Static+2 flags | 3600000 |
| — | 0x04 | MillisPerDay | int | Static+2 flags | 86400000 |
| — | 0x04 | DaysPerYear | int | Static+2 flags | 365 |
| — | 0x04 | DaysPer4Years | int | Static+2 flags | 1461 |
| — | 0x04 | DaysPer100Years | int | Static+2 flags | 36524 |
| — | 0x04 | DaysPer400Years | int | Static+2 flags | 146097 |
| — | 0x04 | DaysTo10000 | int | Static+2 flags | 3652059 |
| — | 0x08 | MaxMillis | long | Static+2 flags | 315537897600000 |
| — | 0x04 | CAL_GREGORIAN | int | Static+2 flags | 1 |
| — | 0x04 | CAL_GREGORIAN_US | int | Static+2 flags | 2 |
| — | 0x04 | CAL_JAPAN | int | Static+2 flags | 3 |
| — | 0x04 | CAL_TAIWAN | int | Static+2 flags | 4 |
| — | 0x04 | CAL_KOREA | int | Static+2 flags | 5 |
| — | 0x04 | CAL_HIJRI | int | Static+2 flags | 6 |
| — | 0x04 | CAL_THAI | int | Static+2 flags | 7 |
| — | 0x04 | CAL_HEBREW | int | Static+2 flags | 8 |
| — | 0x04 | CAL_GREGORIAN_ME_FRENCH | int | Static+2 flags | 9 |
| — | 0x04 | CAL_GREGORIAN_ARABIC | int | Static+2 flags | 10 |
| — | 0x04 | CAL_GREGORIAN_XLIT_ENGLISH | int | Static+2 flags | 11 |
| — | 0x04 | CAL_GREGORIAN_XLIT_FRENCH | int | Static+2 flags | 12 |
| — | 0x04 | CAL_JULIAN | int | Static+2 flags | 13 |
| — | 0x04 | CAL_JAPANESELUNISOLAR | int | Static+2 flags | 14 |
| — | 0x04 | CAL_CHINESELUNISOLAR | int | Static+2 flags | 15 |
| — | 0x04 | CAL_SAKA | int | Static+2 flags | 16 |
| — | 0x04 | CAL_LUNAR_ETO_CHN | int | Static+2 flags | 17 |
| — | 0x04 | CAL_LUNAR_ETO_KOR | int | Static+2 flags | 18 |
| — | 0x04 | CAL_LUNAR_ETO_ROKUYOU | int | Static+2 flags | 19 |
| — | 0x04 | CAL_KOREANLUNISOLAR | int | Static+2 flags | 20 |
| — | 0x04 | CAL_TAIWANLUNISOLAR | int | Static+2 flags | 21 |
| — | 0x04 | CAL_PERSIAN | int | Static+2 flags | 22 |
| — | 0x04 | CAL_UMALQURA | int | Static+2 flags | 23 |
| 0x04 | m_currentEraValue | int | 1 flags | — | |
| 0x01 | m_isReadOnly | bool | Private | — | |
| — | 0x04 | CurrentEra | int | PublicStatic+1 flags | 0 |
| 0x0015 | 0x03 | padding / unreflected | |||
| 0x04 | twoDigitYearMax | int | 1 flags | — | |
Functions 19
| Signature | Flags | Native | Params |
|---|---|---|---|
| DateTime get_MinSupportedDateTime() | Public+2 flags | 0x08 | |
| DateTime get_MaxSupportedDateTime() | Public+2 flags | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| int get_ID() | 3 flags | 0x04 | |
| int GetDaysInMonth(int year, int month, int era) | Public+1 flags | 0x04 | |
| int GetDaysInYear(int year, int era) | Public+1 flags | 0x04 | |
| int GetDayOfMonth(const DateTime& time) | Public+1 flags | 0x08 | |
| DayOfWeek GetDayOfWeek(const DateTime& time) | Public+1 flags | 0x08 | |
| int GetMonthsInYear(int year, int era) | Public+1 flags | 0x04 | |
| int GetEra(const DateTime& time) | Public+1 flags | 0x08 | |
| int GetMonth(const DateTime& time) | Public+1 flags | 0x08 | |
| int GetYear(const DateTime& time) | Public+1 flags | 0x08 | |
| bool IsLeapYear(int year, int era) | Public+1 flags | 0x04 | |
| DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) | Public+1 flags | 0x08 | |
| int[] get_Eras() | Public+2 flags | 0x08 | |
| int get_TwoDigitYearMax() | Public+2 flags | 0x04 | |
| void set_TwoDigitYearMax(int value) | Public+2 flags | 0x04 | |
| int ToFourDigitYear(int year) | Public+1 flags | 0x04 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |