packages/System.Globalization.Calendars.4.3.0/ref/netstandard1.3/System.Globalization.Calendars.xml
(开头部分) 183KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Globalization.Calendars</name>
</assembly>
<members>
<member name="T:System.Globalization.ChineseLunisolarCalendar">
<summary>Represents time in divisions, such as months, days, and years. Years are calculated using the Chinese calendar, while days and months are calculated using the lunisolar calendar.</summary>
</member>
<member name="M:System.Globalization.ChineseLunisolarCalendar.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Globalization.ChineseLunisolarCalendar" /> class. </summary>
</member>
<member name="P:System.Globalization.ChineseLunisolarCalendar.Eras">
<summary>Gets the eras that correspond to the range of dates and times supported by the current <see cref="T:System.Globalization.ChineseLunisolarCalendar" /> 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.ChineseLunisolarCalendar" /> object is always an array containing one element equal to the <see cref="F:System.Globalization.ChineseLunisolarCalendar.ChineseEra" /> value.</returns>
</member>
<member name="M:System.Globalization.ChineseLunisolarCalendar.GetEra(System.DateTime)">
<summary>Retrieves the era that corresponds to the specified <see cref="T:System.DateTime" /> type.</summary>
<returns>An integer that represents the era in the <paramref name="time" /> parameter.</returns>
<param name="time">The <see cref="T:System.DateTime" /> type to read. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="time" /> is less than <see cref="P:System.Globalization.ChineseLunisolarCalendar.MinSupportedDateTime" /> or greater than <see cref="P:System.Globalization.ChineseLunisolarCalendar.MaxSupportedDateTime" />.</exception>
</member>
<member name="P:System.Globalization.ChineseLunisolarCalendar.MaxSupportedDateTime">
<summary>Gets the maximum date and time supported by the <see cref="T:System.Globalization.ChineseLunisolarCalendar" /> class.</summary>
<returns>A <see cref="T:System.DateTime" /> type that represents the last moment on January 28, 2101 in the Gregorian calendar, which is approximately equal to the constructor DateTime(2101, 1, 28, 23, 59, 59, 999).</returns>
</member>
<member name="P:System.Globalization.ChineseLunisolarCalendar.MinSupportedDateTime">
<summary>Gets the minimum date and time supported by the <see cref="T:System.Globalization.ChineseLunisolarCalendar" /> class.</summary>
<returns>A <see cref="T:System.DateTime" /> type that represents February 19, 1901 in the Gregorian calendar, which is equivalent to the constructor, DateTime(1901, 2, 19).</returns>
</member>
<member name="T:System.Globalization.EastAsianLunisolarCalendar">
<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>
</member>
<member name="M:System.Globalization.EastAsianLunisolarCalendar.AddMonths(System.DateTime,System.Int32)">
<summary>Calculates the date that is the specified number of months away from the specified date.</summary>
<returns>A new <see cref="T:System.DateTime" /> that results from adding the specified number of months to the <paramref name="time" /> parameter.</returns>
<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>
<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>
</member>
<member name="M:System.Globalization.EastAsianLunisolarCalendar.AddYears(System.DateTime,System.Int32)">
<summary>Calculates the date that is the specified number of years away from the specified date.</summary>
<returns>A new <see cref="T:System.DateTime" /> that results from adding the specified number of years to the <paramref name="time" /> parameter.</returns>
<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>
<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>
</member>
<member name="M:System.Globalization.EastAsianLunisolarCalendar.GetCelestialStem(System.Int32)">
<summary>Calculates the celestial stem of the specified year in the sexagenary (60-year) cycle.</summary>
<returns>A number from 1 through 10.</returns>
<param name="sexagenaryYear">An integer from 1 through 60 that represents a year in the sexagenary cycle. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="sexagenaryYear" /> is less than 1 or greater than 60.</exception>
</member>
<member name="M:System.Globalization.EastAsianLunisolarCalendar.GetDayOfMonth(System.DateTime)">
后面还有 1870 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
