Merge pull request #949 from ermshiperete/bug-novell-463149
[mono.git] / mcs / class / corlib / Documentation / en / System.Globalization / EastAsianLunisolarCalendar.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="EastAsianLunisolarCalendar" FullName="System.Globalization.EastAsianLunisolarCalendar">
3   <TypeSignature Language="C#" Value="public abstract class EastAsianLunisolarCalendar : System.Globalization.Calendar" />
4   <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract serializable beforefieldinit EastAsianLunisolarCalendar extends System.Globalization.Calendar" />
5   <AssemblyInfo>
6     <AssemblyName>mscorlib</AssemblyName>
7     <AssemblyVersions>
8       <AssemblyVersion>2.0.0.0</AssemblyVersion>
9     </AssemblyVersions>
10     <AssemblyVersion>2.0.0.0</AssemblyVersion>
11     <AssemblyVersion>4.0.0.0</AssemblyVersion>
12   </AssemblyInfo>
13   <Base>
14     <BaseTypeName>System.Globalization.Calendar</BaseTypeName>
15   </Base>
16   <Interfaces />
17   <Attributes>
18     <Attribute>
19       <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
20     </Attribute>
21   </Attributes>
22   <Docs>
23     <since version=".NET 2.0" />
24     <remarks>
25       <attribution license="cc4" from="Microsoft" modified="false" />
26       <para>The <see cref="T:System.Globalization.EastAsianLunisolarCalendar" /> class supports the sexagenary cycle of years (which repeats every 60 years) in addition to solar years and lunar months. Each solar year in the calendar is associated with a Sexagenary Year (see <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetSexagenaryYear(System.DateTime)" />), a Celestial Stem (see <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetCelestialStem(System.Int32)" />), and a Terrestrial Branch (see <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetTerrestrialBranch(System.Int32)" />). </para>
27       <block subset="none" type="note">
28         <para>For information about using the <see cref="T:System.Globalization.HebrewCalendar" /> class and the other calendar classes in the .NET Framework, see <format type="text/html"><a href="0c1534e5-979b-4c8a-a588-1c24301aefb3">Working with Calendars</a></format>.</para>
29       </block>
30       <para>A year can have a leap month after any month of the year, and a month can have a leap day. For example, the <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetMonth(System.DateTime)" /> method returns a positive integer that indicates the month associated with a specified date. If there is a leap month between the eighth and ninth months of the year, the <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetMonth(System.DateTime)" /> method returns 8 for the eighth month, 9 for the leap eighth month, and 10 for the ninth month.</para>
31       <para>Each <see cref="T:System.Globalization.CultureInfo" /> supports a set of calendars. Currently, none of the lunisolar calendar classes that derive from <see cref="T:System.Globalization.EastAsianLunisolarCalendar" /> is used by any of the cultures supported by the <see cref="T:System.Globalization.CultureInfo" /> class. Therefore, this class and those that derive from it can be used only to calculate dates in the East Asian lunisolar calendars. This class supports several "get" methods to describe a <see cref="T:System.DateTime" /> in the terms used by lunisolar calendars, and the <see cref="Overload:System.Globalization.EastAsianLunisolarCalendar.ToDateTime" /> method to convert from lunisolar calendar data to a <see cref="T:System.DateTime" />.</para>
32     </remarks>
33     <summary>
34       <attribution license="cc4" from="Microsoft" modified="false" />
35       <para>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.</para>
36     </summary>
37   </Docs>
38   <Members>
39     <Member MemberName="AddMonths">
40       <MemberSignature Language="C#" Value="public override DateTime AddMonths (DateTime time, int months);" />
41       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.DateTime AddMonths(valuetype System.DateTime time, int32 months) cil managed" />
42       <MemberType>Method</MemberType>
43       <AssemblyInfo>
44         <AssemblyVersion>2.0.0.0</AssemblyVersion>
45         <AssemblyVersion>4.0.0.0</AssemblyVersion>
46       </AssemblyInfo>
47       <ReturnValue>
48         <ReturnType>System.DateTime</ReturnType>
49       </ReturnValue>
50       <Parameters>
51         <Parameter Name="time" Type="System.DateTime" />
52         <Parameter Name="months" Type="System.Int32" />
53       </Parameters>
54       <Docs>
55         <since version=".NET 2.0" />
56         <remarks>
57           <attribution license="cc4" from="Microsoft" modified="false" />
58           <para>The day part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is not a valid day in the resulting month of the resulting year. In this case, the day part is changed to the last valid day in the resulting month of the resulting year. The year part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting month is outside the year of the specified <see cref="T:System.DateTime" />. This implementation supports only the current era. Therefore, <see cref="T:System.ArgumentException" /> is thrown if the resulting year is outside the era of the specified <see cref="T:System.DateTime" />. The time-of-day part of the resulting <see cref="T:System.DateTime" /> remains the same as the specified <see cref="T:System.DateTime" />.</para>
59           <para>For example, if the specified month is October, which has 31 days, the specified day is the thirty-first day of that month, and the value of the <paramref name="months" /> parameter is 6, the resulting year is one more than the specified year, the resulting month is April, and the resulting day is the thirtieth day, which is the last day in April.</para>
60           <para>If the value of the <paramref name="months" /> parameter is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para>
61           <para>The <see cref="P:System.DateTime.Kind" /> property of the returned <see cref="T:System.DateTime" /> value always equals <see cref="F:System.DateTimeKind.Unspecified" />. You can preserve the <see cref="P:System.DateTime.Kind" /> property of the <paramref name="time" /> parameter by calling the <see cref="M:System.DateTime.SpecifyKind(System.DateTime,System.DateTimeKind)" /> method, as the following example shows.</para>
62           <para>code reference: System.Globalization.Calendar.AddMethods#5</para>
63         </remarks>
64         <summary>
65           <attribution license="cc4" from="Microsoft" modified="false" />
66           <para>Calculates the date that is the specified number of months away from the specified date.</para>
67         </summary>
68         <returns>
69           <attribution license="cc4" from="Microsoft" modified="false" />
70           <para>A new <see cref="T:System.DateTime" /> that results from adding the specified number of months to the <paramref name="time" /> parameter.</para>
71         </returns>
72         <param name="time">
73           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add <paramref name="months" />. </param>
74         <param name="months">
75           <attribution license="cc4" from="Microsoft" modified="false" />The number of months to add. </param>
76       </Docs>
77     </Member>
78     <Member MemberName="AddYears">
79       <MemberSignature Language="C#" Value="public override DateTime AddYears (DateTime time, int years);" />
80       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.DateTime AddYears(valuetype System.DateTime time, int32 years) cil managed" />
81       <MemberType>Method</MemberType>
82       <AssemblyInfo>
83         <AssemblyVersion>2.0.0.0</AssemblyVersion>
84         <AssemblyVersion>4.0.0.0</AssemblyVersion>
85       </AssemblyInfo>
86       <ReturnValue>
87         <ReturnType>System.DateTime</ReturnType>
88       </ReturnValue>
89       <Parameters>
90         <Parameter Name="time" Type="System.DateTime" />
91         <Parameter Name="years" Type="System.Int32" />
92       </Parameters>
93       <Docs>
94         <since version=".NET 2.0" />
95         <remarks>
96           <attribution license="cc4" from="Microsoft" modified="false" />
97           <para>The day part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is not a valid day in the resulting month of the resulting year. In this case, the day part is changed to the last valid day in the resulting month of the resulting year. The month part of the resulting <see cref="T:System.DateTime" /> remains the same as the specified <see cref="T:System.DateTime" />. This implementation supports only the current era. Therefore, <see cref="T:System.ArgumentException" /> is thrown if the resulting year is outside the era of the specified <see cref="T:System.DateTime" />. The time-of-day part of the resulting <see cref="T:System.DateTime" /> remains the same as the specified <see cref="T:System.DateTime" />.</para>
98           <para>For example, February has 28 days, except during leap years when it has 29 days. If the specified date is the twenty-ninth day of February in a leap year and the value of the <paramref name="years" /> parameter is 1, the resulting date will be the twenty-eighth day of February in the following year.</para>
99           <para>If <paramref name="years" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para>
100           <para>The <see cref="P:System.DateTime.Kind" /> property of the returned <see cref="T:System.DateTime" /> value always equals <see cref="F:System.DateTimeKind.Unspecified" />. You can preserve the <see cref="P:System.DateTime.Kind" /> property of the <paramref name="time" /> parameter by calling the <see cref="M:System.DateTime.SpecifyKind(System.DateTime,System.DateTimeKind)" /> method, as the following example shows.</para>
101           <para>code reference: System.Globalization.Calendar.AddMethods#8</para>
102         </remarks>
103         <summary>
104           <attribution license="cc4" from="Microsoft" modified="false" />
105           <para>Calculates the date that is the specified number of years away from the specified date.</para>
106         </summary>
107         <returns>
108           <attribution license="cc4" from="Microsoft" modified="false" />
109           <para>A new <see cref="T:System.DateTime" /> that results from adding the specified number of years to the <paramref name="time" /> parameter.</para>
110         </returns>
111         <param name="time">
112           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add <paramref name="years" />. </param>
113         <param name="years">
114           <attribution license="cc4" from="Microsoft" modified="false" />The number of years to add. </param>
115       </Docs>
116     </Member>
117     <Member MemberName="AlgorithmType">
118       <MemberSignature Language="C#" Value="public override System.Globalization.CalendarAlgorithmType AlgorithmType { get; }" />
119       <MemberSignature Language="ILAsm" Value=".property instance valuetype System.Globalization.CalendarAlgorithmType AlgorithmType" />
120       <MemberType>Property</MemberType>
121       <AssemblyInfo>
122         <AssemblyVersion>2.0.0.0</AssemblyVersion>
123         <AssemblyVersion>4.0.0.0</AssemblyVersion>
124       </AssemblyInfo>
125       <ReturnValue>
126         <ReturnType>System.Globalization.CalendarAlgorithmType</ReturnType>
127       </ReturnValue>
128       <Docs>
129         <value>To be added.</value>
130         <remarks>To be added.</remarks>
131         <since version=".NET 2.0" />
132         <summary>
133           <attribution license="cc4" from="Microsoft" modified="false" />
134           <para>Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.</para>
135         </summary>
136       </Docs>
137     </Member>
138     <Member MemberName="GetCelestialStem">
139       <MemberSignature Language="C#" Value="public int GetCelestialStem (int sexagenaryYear);" />
140       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 GetCelestialStem(int32 sexagenaryYear) cil managed" />
141       <MemberType>Method</MemberType>
142       <AssemblyInfo>
143         <AssemblyVersion>2.0.0.0</AssemblyVersion>
144         <AssemblyVersion>4.0.0.0</AssemblyVersion>
145       </AssemblyInfo>
146       <ReturnValue>
147         <ReturnType>System.Int32</ReturnType>
148       </ReturnValue>
149       <Parameters>
150         <Parameter Name="sexagenaryYear" Type="System.Int32" />
151       </Parameters>
152       <Docs>
153         <remarks>To be added.</remarks>
154         <since version=".NET 2.0" />
155         <summary>
156           <attribution license="cc4" from="Microsoft" modified="false" />
157           <para>Calculates the celestial stem of the specified year in the sexagenary (60-year) cycle.</para>
158         </summary>
159         <returns>
160           <attribution license="cc4" from="Microsoft" modified="false" />
161           <para>A number from 1 through 10.</para>
162         </returns>
163         <param name="sexagenaryYear">
164           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 60 that represents a year in the sexagenary cycle. </param>
165       </Docs>
166     </Member>
167     <Member MemberName="GetDayOfMonth">
168       <MemberSignature Language="C#" Value="public override int GetDayOfMonth (DateTime time);" />
169       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDayOfMonth(valuetype System.DateTime time) cil managed" />
170       <MemberType>Method</MemberType>
171       <AssemblyInfo>
172         <AssemblyVersion>2.0.0.0</AssemblyVersion>
173         <AssemblyVersion>4.0.0.0</AssemblyVersion>
174       </AssemblyInfo>
175       <ReturnValue>
176         <ReturnType>System.Int32</ReturnType>
177       </ReturnValue>
178       <Parameters>
179         <Parameter Name="time" Type="System.DateTime" />
180       </Parameters>
181       <Docs>
182         <remarks>To be added.</remarks>
183         <since version=".NET 2.0" />
184         <summary>
185           <attribution license="cc4" from="Microsoft" modified="false" />
186           <para>Calculates the day of the month in the specified date.</para>
187         </summary>
188         <returns>
189           <attribution license="cc4" from="Microsoft" modified="false" />
190           <para>An integer from 1 through 31 that represents the day of the month specified in the <paramref name="time" /> parameter.</para>
191         </returns>
192         <param name="time">
193           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param>
194       </Docs>
195     </Member>
196     <Member MemberName="GetDayOfWeek">
197       <MemberSignature Language="C#" Value="public override DayOfWeek GetDayOfWeek (DateTime time);" />
198       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.DayOfWeek GetDayOfWeek(valuetype System.DateTime time) cil managed" />
199       <MemberType>Method</MemberType>
200       <AssemblyInfo>
201         <AssemblyVersion>2.0.0.0</AssemblyVersion>
202         <AssemblyVersion>4.0.0.0</AssemblyVersion>
203       </AssemblyInfo>
204       <ReturnValue>
205         <ReturnType>System.DayOfWeek</ReturnType>
206       </ReturnValue>
207       <Parameters>
208         <Parameter Name="time" Type="System.DateTime" />
209       </Parameters>
210       <Docs>
211         <remarks>To be added.</remarks>
212         <since version=".NET 2.0" />
213         <summary>
214           <attribution license="cc4" from="Microsoft" modified="false" />
215           <para>Calculates the day of the week in the specified date.</para>
216         </summary>
217         <returns>
218           <attribution license="cc4" from="Microsoft" modified="false" />
219           <para>One of the <see cref="T:System.DayOfWeek" /> values that represents the day of the week specified in the <paramref name="time" /> parameter.</para>
220         </returns>
221         <param name="time">
222           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param>
223       </Docs>
224     </Member>
225     <Member MemberName="GetDayOfYear">
226       <MemberSignature Language="C#" Value="public override int GetDayOfYear (DateTime time);" />
227       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDayOfYear(valuetype System.DateTime time) cil managed" />
228       <MemberType>Method</MemberType>
229       <AssemblyInfo>
230         <AssemblyVersion>2.0.0.0</AssemblyVersion>
231         <AssemblyVersion>4.0.0.0</AssemblyVersion>
232       </AssemblyInfo>
233       <ReturnValue>
234         <ReturnType>System.Int32</ReturnType>
235       </ReturnValue>
236       <Parameters>
237         <Parameter Name="time" Type="System.DateTime" />
238       </Parameters>
239       <Docs>
240         <since version=".NET 2.0" />
241         <remarks>
242           <attribution license="cc4" from="Microsoft" modified="false" />
243           <para>The day of the year is defined as the number of days from the first day of the year. For example, <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetDayOfYear(System.DateTime)" /> for the first day of the first month returns 1, and <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetDayOfYear(System.DateTime)" /> for the last day of the last month returns the total number of days in that year, which is the same value returned by <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetDaysInYear(System.Int32,System.Int32)" />.</para>
244         </remarks>
245         <summary>
246           <attribution license="cc4" from="Microsoft" modified="false" />
247           <para>Calculates the day of the year in the specified date.</para>
248         </summary>
249         <returns>
250           <attribution license="cc4" from="Microsoft" modified="false" />
251           <para>An integer from 1 through 354 in a common year, or 1 through 384 in a leap year, that represents the day of the year specified in the <paramref name="time" /> parameter.</para>
252         </returns>
253         <param name="time">
254           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param>
255       </Docs>
256     </Member>
257     <Member MemberName="GetDaysInMonth">
258       <MemberSignature Language="C#" Value="public override int GetDaysInMonth (int year, int month, int era);" />
259       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDaysInMonth(int32 year, int32 month, int32 era) cil managed" />
260       <MemberType>Method</MemberType>
261       <AssemblyInfo>
262         <AssemblyVersion>2.0.0.0</AssemblyVersion>
263         <AssemblyVersion>4.0.0.0</AssemblyVersion>
264       </AssemblyInfo>
265       <ReturnValue>
266         <ReturnType>System.Int32</ReturnType>
267       </ReturnValue>
268       <Parameters>
269         <Parameter Name="year" Type="System.Int32" />
270         <Parameter Name="month" Type="System.Int32" />
271         <Parameter Name="era" Type="System.Int32" />
272       </Parameters>
273       <Docs>
274         <since version=".NET 2.0" />
275         <remarks>
276           <attribution license="cc4" from="Microsoft" modified="false" />
277           <para>If the <paramref name="month" /> parameter is the second month, the <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetDaysInMonth(System.Int32,System.Int32,System.Int32)" /> method returns 28 or 29, depending on whether the <paramref name="year" /> parameter is a leap year.</para>
278         </remarks>
279         <summary>
280           <attribution license="cc4" from="Microsoft" modified="false" />
281           <para>Calculates the number of days in the specified month of the specified year and era.</para>
282         </summary>
283         <returns>
284           <attribution license="cc4" from="Microsoft" modified="false" />
285           <para>The number of days in the specified month of the specified year and era.</para>
286         </returns>
287         <param name="year">
288           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param>
289         <param name="month">
290           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 12 in a common year, or 1 through 13 in a leap year, that represents the month. </param>
291         <param name="era">
292           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param>
293       </Docs>
294     </Member>
295     <Member MemberName="GetDaysInYear">
296       <MemberSignature Language="C#" Value="public override int GetDaysInYear (int year, int era);" />
297       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDaysInYear(int32 year, int32 era) cil managed" />
298       <MemberType>Method</MemberType>
299       <AssemblyInfo>
300         <AssemblyVersion>2.0.0.0</AssemblyVersion>
301         <AssemblyVersion>4.0.0.0</AssemblyVersion>
302       </AssemblyInfo>
303       <ReturnValue>
304         <ReturnType>System.Int32</ReturnType>
305       </ReturnValue>
306       <Parameters>
307         <Parameter Name="year" Type="System.Int32" />
308         <Parameter Name="era" Type="System.Int32" />
309       </Parameters>
310       <Docs>
311         <since version=".NET 2.0" />
312         <remarks>
313           <attribution license="cc4" from="Microsoft" modified="false" />
314           <para>The <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetDaysInYear(System.Int32,System.Int32)" /> method returns 365 or 366, depending on whether the <paramref name="year" /> parameter is a leap year.</para>
315         </remarks>
316         <summary>
317           <attribution license="cc4" from="Microsoft" modified="false" />
318           <para>Calculates the number of days in the specified year and era.</para>
319         </summary>
320         <returns>
321           <attribution license="cc4" from="Microsoft" modified="false" />
322           <para>The number of days in the specified year and era.</para>
323         </returns>
324         <param name="year">
325           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param>
326         <param name="era">
327           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param>
328       </Docs>
329     </Member>
330     <Member MemberName="GetLeapMonth">
331       <MemberSignature Language="C#" Value="public override int GetLeapMonth (int year, int era);" />
332       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetLeapMonth(int32 year, int32 era) cil managed" />
333       <MemberType>Method</MemberType>
334       <AssemblyInfo>
335         <AssemblyVersion>2.0.0.0</AssemblyVersion>
336         <AssemblyVersion>4.0.0.0</AssemblyVersion>
337       </AssemblyInfo>
338       <ReturnValue>
339         <ReturnType>System.Int32</ReturnType>
340       </ReturnValue>
341       <Parameters>
342         <Parameter Name="year" Type="System.Int32" />
343         <Parameter Name="era" Type="System.Int32" />
344       </Parameters>
345       <Docs>
346         <since version=".NET 2.0" />
347         <remarks>
348           <attribution license="cc4" from="Microsoft" modified="false" />
349           <para>In a calendar that supports a leap month, the leap month can occur either after a particular month or after any month in a year. For example, the <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetMonth(System.DateTime)" /> method returns a number from 1 through 13 that indicates the month associated with a specified date. If there is a leap month between the eighth and ninth months of the year, the <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetMonth(System.DateTime)" /> method returns 8 for the eighth month, 9 for the leap eighth month, and 10 for the ninth month.</para>
350         </remarks>
351         <summary>
352           <attribution license="cc4" from="Microsoft" modified="false" />
353           <para>Calculates the leap month for the specified year and era.</para>
354         </summary>
355         <returns>
356           <attribution license="cc4" from="Microsoft" modified="false" />
357           <para>A positive integer from 1 through 13 that indicates the leap month in the specified year and era.</para>
358           <para> -or-</para>
359           <para>Zero if this calendar does not support a leap month, or if the <paramref name="year" /> and <paramref name="era" /> parameters do not specify a leap year.</para>
360         </returns>
361         <param name="year">
362           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year.</param>
363         <param name="era">
364           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era.</param>
365       </Docs>
366     </Member>
367     <Member MemberName="GetMonth">
368       <MemberSignature Language="C#" Value="public override int GetMonth (DateTime time);" />
369       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetMonth(valuetype System.DateTime time) cil managed" />
370       <MemberType>Method</MemberType>
371       <AssemblyInfo>
372         <AssemblyVersion>2.0.0.0</AssemblyVersion>
373         <AssemblyVersion>4.0.0.0</AssemblyVersion>
374       </AssemblyInfo>
375       <ReturnValue>
376         <ReturnType>System.Int32</ReturnType>
377       </ReturnValue>
378       <Parameters>
379         <Parameter Name="time" Type="System.DateTime" />
380       </Parameters>
381       <Docs>
382         <remarks>To be added.</remarks>
383         <since version=".NET 2.0" />
384         <summary>
385           <attribution license="cc4" from="Microsoft" modified="false" />
386           <para>Returns the month in the specified date.</para>
387         </summary>
388         <returns>
389           <attribution license="cc4" from="Microsoft" modified="false" />
390           <para>An integer from 1 to 13 that represents the month specified in the <paramref name="time" /> parameter.</para>
391         </returns>
392         <param name="time">
393           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param>
394       </Docs>
395     </Member>
396     <Member MemberName="GetMonthsInYear">
397       <MemberSignature Language="C#" Value="public override int GetMonthsInYear (int year, int era);" />
398       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetMonthsInYear(int32 year, int32 era) cil managed" />
399       <MemberType>Method</MemberType>
400       <AssemblyInfo>
401         <AssemblyVersion>2.0.0.0</AssemblyVersion>
402         <AssemblyVersion>4.0.0.0</AssemblyVersion>
403       </AssemblyInfo>
404       <ReturnValue>
405         <ReturnType>System.Int32</ReturnType>
406       </ReturnValue>
407       <Parameters>
408         <Parameter Name="year" Type="System.Int32" />
409         <Parameter Name="era" Type="System.Int32" />
410       </Parameters>
411       <Docs>
412         <remarks>To be added.</remarks>
413         <since version=".NET 2.0" />
414         <summary>
415           <attribution license="cc4" from="Microsoft" modified="false" />
416           <para>Calculates the number of months in the specified year and era.</para>
417         </summary>
418         <returns>
419           <attribution license="cc4" from="Microsoft" modified="false" />
420           <para>The number of months in the specified year in the specified era. The return value is 12 months in a common year or 13 months in a leap year.</para>
421         </returns>
422         <param name="year">
423           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param>
424         <param name="era">
425           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param>
426       </Docs>
427     </Member>
428     <Member MemberName="GetSexagenaryYear">
429       <MemberSignature Language="C#" Value="public virtual int GetSexagenaryYear (DateTime time);" />
430       <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetSexagenaryYear(valuetype System.DateTime time) cil managed" />
431       <MemberType>Method</MemberType>
432       <AssemblyInfo>
433         <AssemblyVersion>2.0.0.0</AssemblyVersion>
434         <AssemblyVersion>4.0.0.0</AssemblyVersion>
435       </AssemblyInfo>
436       <ReturnValue>
437         <ReturnType>System.Int32</ReturnType>
438       </ReturnValue>
439       <Parameters>
440         <Parameter Name="time" Type="System.DateTime" />
441       </Parameters>
442       <Docs>
443         <remarks>To be added.</remarks>
444         <since version=".NET 2.0" />
445         <summary>
446           <attribution license="cc4" from="Microsoft" modified="false" />
447           <para>Calculates the year in the sexagenary (60-year) cycle that corresponds to the specified date.</para>
448         </summary>
449         <returns>
450           <attribution license="cc4" from="Microsoft" modified="false" />
451           <para>A number from 1 through 60 in the sexagenary cycle that corresponds to the <paramref name="date" /> parameter.</para>
452         </returns>
453         <param name="time">
454           <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.DateTime" /> to read.</param>
455       </Docs>
456     </Member>
457     <Member MemberName="GetTerrestrialBranch">
458       <MemberSignature Language="C#" Value="public int GetTerrestrialBranch (int sexagenaryYear);" />
459       <MemberSignature Language="ILAsm" Value=".method public hidebysig instance int32 GetTerrestrialBranch(int32 sexagenaryYear) cil managed" />
460       <MemberType>Method</MemberType>
461       <AssemblyInfo>
462         <AssemblyVersion>2.0.0.0</AssemblyVersion>
463         <AssemblyVersion>4.0.0.0</AssemblyVersion>
464       </AssemblyInfo>
465       <ReturnValue>
466         <ReturnType>System.Int32</ReturnType>
467       </ReturnValue>
468       <Parameters>
469         <Parameter Name="sexagenaryYear" Type="System.Int32" />
470       </Parameters>
471       <Docs>
472         <remarks>To be added.</remarks>
473         <since version=".NET 2.0" />
474         <summary>
475           <attribution license="cc4" from="Microsoft" modified="false" />
476           <para>Calculates the terrestrial branch of the specified year in the sexagenary (60-year) cycle.</para>
477         </summary>
478         <returns>
479           <attribution license="cc4" from="Microsoft" modified="false" />
480           <para>An integer from 1 through 12.</para>
481         </returns>
482         <param name="sexagenaryYear">
483           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 60 that represents a year in the sexagenary cycle.</param>
484       </Docs>
485     </Member>
486     <Member MemberName="GetYear">
487       <MemberSignature Language="C#" Value="public override int GetYear (DateTime time);" />
488       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetYear(valuetype System.DateTime time) cil managed" />
489       <MemberType>Method</MemberType>
490       <AssemblyInfo>
491         <AssemblyVersion>2.0.0.0</AssemblyVersion>
492         <AssemblyVersion>4.0.0.0</AssemblyVersion>
493       </AssemblyInfo>
494       <ReturnValue>
495         <ReturnType>System.Int32</ReturnType>
496       </ReturnValue>
497       <Parameters>
498         <Parameter Name="time" Type="System.DateTime" />
499       </Parameters>
500       <Docs>
501         <remarks>To be added.</remarks>
502         <since version=".NET 2.0" />
503         <summary>
504           <attribution license="cc4" from="Microsoft" modified="false" />
505           <para>Returns the year in the specified date.</para>
506         </summary>
507         <returns>
508           <attribution license="cc4" from="Microsoft" modified="false" />
509           <para>An integer that represents the year in the specified <see cref="T:System.DateTime" />.</para>
510         </returns>
511         <param name="time">
512           <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param>
513       </Docs>
514     </Member>
515     <Member MemberName="IsLeapDay">
516       <MemberSignature Language="C#" Value="public override bool IsLeapDay (int year, int month, int day, int era);" />
517       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsLeapDay(int32 year, int32 month, int32 day, int32 era) cil managed" />
518       <MemberType>Method</MemberType>
519       <AssemblyInfo>
520         <AssemblyVersion>2.0.0.0</AssemblyVersion>
521         <AssemblyVersion>4.0.0.0</AssemblyVersion>
522       </AssemblyInfo>
523       <ReturnValue>
524         <ReturnType>System.Boolean</ReturnType>
525       </ReturnValue>
526       <Parameters>
527         <Parameter Name="year" Type="System.Int32" />
528         <Parameter Name="month" Type="System.Int32" />
529         <Parameter Name="day" Type="System.Int32" />
530         <Parameter Name="era" Type="System.Int32" />
531       </Parameters>
532       <Docs>
533         <remarks>To be added.</remarks>
534         <since version=".NET 2.0" />
535         <summary>
536           <attribution license="cc4" from="Microsoft" modified="false" />
537           <para>Determines whether the specified date in the specified era is a leap day.</para>
538         </summary>
539         <returns>
540           <attribution license="cc4" from="Microsoft" modified="false" />
541           <para>true if the specified day is a leap day; otherwise, false.</para>
542         </returns>
543         <param name="year">
544           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param>
545         <param name="month">
546           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 13 that represents the month. </param>
547         <param name="day">
548           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 31 that represents the day. </param>
549         <param name="era">
550           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param>
551       </Docs>
552     </Member>
553     <Member MemberName="IsLeapMonth">
554       <MemberSignature Language="C#" Value="public override bool IsLeapMonth (int year, int month, int era);" />
555       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsLeapMonth(int32 year, int32 month, int32 era) cil managed" />
556       <MemberType>Method</MemberType>
557       <AssemblyInfo>
558         <AssemblyVersion>2.0.0.0</AssemblyVersion>
559         <AssemblyVersion>4.0.0.0</AssemblyVersion>
560       </AssemblyInfo>
561       <ReturnValue>
562         <ReturnType>System.Boolean</ReturnType>
563       </ReturnValue>
564       <Parameters>
565         <Parameter Name="year" Type="System.Int32" />
566         <Parameter Name="month" Type="System.Int32" />
567         <Parameter Name="era" Type="System.Int32" />
568       </Parameters>
569       <Docs>
570         <remarks>To be added.</remarks>
571         <since version=".NET 2.0" />
572         <summary>
573           <attribution license="cc4" from="Microsoft" modified="false" />
574           <para>Determines whether the specified month in the specified year and era is a leap month.</para>
575         </summary>
576         <returns>
577           <attribution license="cc4" from="Microsoft" modified="false" />
578           <para>true if the <paramref name="month" /> parameter is a leap month; otherwise, false.</para>
579         </returns>
580         <param name="year">
581           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param>
582         <param name="month">
583           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 13 that represents the month. </param>
584         <param name="era">
585           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param>
586       </Docs>
587     </Member>
588     <Member MemberName="IsLeapYear">
589       <MemberSignature Language="C#" Value="public override bool IsLeapYear (int year, int era);" />
590       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsLeapYear(int32 year, int32 era) cil managed" />
591       <MemberType>Method</MemberType>
592       <AssemblyInfo>
593         <AssemblyVersion>2.0.0.0</AssemblyVersion>
594         <AssemblyVersion>4.0.0.0</AssemblyVersion>
595       </AssemblyInfo>
596       <ReturnValue>
597         <ReturnType>System.Boolean</ReturnType>
598       </ReturnValue>
599       <Parameters>
600         <Parameter Name="year" Type="System.Int32" />
601         <Parameter Name="era" Type="System.Int32" />
602       </Parameters>
603       <Docs>
604         <remarks>To be added.</remarks>
605         <since version=".NET 2.0" />
606         <summary>
607           <attribution license="cc4" from="Microsoft" modified="false" />
608           <para>Determines whether the specified year in the specified era is a leap year.</para>
609         </summary>
610         <returns>
611           <attribution license="cc4" from="Microsoft" modified="false" />
612           <para>true if the specified year is a leap year; otherwise, false.</para>
613         </returns>
614         <param name="year">
615           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param>
616         <param name="era">
617           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param>
618       </Docs>
619     </Member>
620     <Member MemberName="ToDateTime">
621       <MemberSignature Language="C#" Value="public override DateTime ToDateTime (int year, int month, int day, int hour, int minute, int second, int millisecond, int era);" />
622       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.DateTime ToDateTime(int32 year, int32 month, int32 day, int32 hour, int32 minute, int32 second, int32 millisecond, int32 era) cil managed" />
623       <MemberType>Method</MemberType>
624       <AssemblyInfo>
625         <AssemblyVersion>2.0.0.0</AssemblyVersion>
626         <AssemblyVersion>4.0.0.0</AssemblyVersion>
627       </AssemblyInfo>
628       <ReturnValue>
629         <ReturnType>System.DateTime</ReturnType>
630       </ReturnValue>
631       <Parameters>
632         <Parameter Name="year" Type="System.Int32" />
633         <Parameter Name="month" Type="System.Int32" />
634         <Parameter Name="day" Type="System.Int32" />
635         <Parameter Name="hour" Type="System.Int32" />
636         <Parameter Name="minute" Type="System.Int32" />
637         <Parameter Name="second" Type="System.Int32" />
638         <Parameter Name="millisecond" Type="System.Int32" />
639         <Parameter Name="era" Type="System.Int32" />
640       </Parameters>
641       <Docs>
642         <since version=".NET 2.0" />
643         <remarks>
644           <attribution license="cc4" from="Microsoft" modified="false" />
645           <para>The <see cref="M:System.Globalization.EastAsianLunisolarCalendar.ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" /> method can convert any date in the current calendar to a Gregorian calendar date. The Gregorian date can subsequently be used, for example, to compare dates in different calendars or create an equivalent date in a particular calendar.</para>
646         </remarks>
647         <summary>
648           <attribution license="cc4" from="Microsoft" modified="false" />
649           <para>Returns a <see cref="T:System.DateTime" /> that is set to the specified date, time, and era.</para>
650         </summary>
651         <returns>
652           <attribution license="cc4" from="Microsoft" modified="false" />
653           <para>A <see cref="T:System.DateTime" /> that is set to the specified date, time, and era.</para>
654         </returns>
655         <param name="year">
656           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param>
657         <param name="month">
658           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 13 that represents the month. </param>
659         <param name="day">
660           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 31 that represents the day. </param>
661         <param name="hour">
662           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 23 that represents the hour. </param>
663         <param name="minute">
664           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 59 that represents the minute. </param>
665         <param name="second">
666           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 59 that represents the second. </param>
667         <param name="millisecond">
668           <attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 999 that represents the millisecond. </param>
669         <param name="era">
670           <attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param>
671       </Docs>
672     </Member>
673     <Member MemberName="ToFourDigitYear">
674       <MemberSignature Language="C#" Value="public override int ToFourDigitYear (int year);" />
675       <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 ToFourDigitYear(int32 year) cil managed" />
676       <MemberType>Method</MemberType>
677       <AssemblyInfo>
678         <AssemblyVersion>2.0.0.0</AssemblyVersion>
679         <AssemblyVersion>4.0.0.0</AssemblyVersion>
680       </AssemblyInfo>
681       <ReturnValue>
682         <ReturnType>System.Int32</ReturnType>
683       </ReturnValue>
684       <Parameters>
685         <Parameter Name="year" Type="System.Int32" />
686       </Parameters>
687       <Docs>
688         <since version=".NET 2.0" />
689         <remarks>
690           <attribution license="cc4" from="Microsoft" modified="false" />
691           <para>The <see cref="M:System.Globalization.EastAsianLunisolarCalendar.ToFourDigitYear(System.Int32)" /> method uses the <see cref="P:System.Globalization.EastAsianLunisolarCalendar.TwoDigitYearMax" /> property to determine the appropriate century.</para>
692           <para>
693             <see cref="M:System.Globalization.EastAsianLunisolarCalendar.ToFourDigitYear(System.Int32)" /> supports either a two-digit year or a four-digit year. Passing a two-digit year value (less than 100) causes the method to convert the value to a four-digit value according to the <see cref="P:System.Globalization.EastAsianLunisolarCalendar.TwoDigitYearMax" /> value representing the appropriate century. If the application supplies a four-digit year value that is within the supported calendar range to <see cref="M:System.Globalization.EastAsianLunisolarCalendar.ToFourDigitYear(System.Int32)" />, the method returns the actual input value. If the application supplies a four-digit value that is outside the supported calendar range, or if it supplies a negative value, the method throws an exception.</para>
694         </remarks>
695         <summary>
696           <attribution license="cc4" from="Microsoft" modified="false" />
697           <para>Converts the specified year to a four-digit year.</para>
698         </summary>
699         <returns>
700           <attribution license="cc4" from="Microsoft" modified="false" />
701           <para>An integer that contains the four-digit representation of the <paramref name="year" /> parameter.</para>
702         </returns>
703         <param name="year">
704           <attribution license="cc4" from="Microsoft" modified="false" />A two-digit or four-digit integer that represents the year to convert. </param>
705       </Docs>
706     </Member>
707     <Member MemberName="TwoDigitYearMax">
708       <MemberSignature Language="C#" Value="public override int TwoDigitYearMax { get; set; }" />
709       <MemberSignature Language="ILAsm" Value=".property instance int32 TwoDigitYearMax" />
710       <MemberType>Property</MemberType>
711       <AssemblyInfo>
712         <AssemblyVersion>2.0.0.0</AssemblyVersion>
713         <AssemblyVersion>4.0.0.0</AssemblyVersion>
714       </AssemblyInfo>
715       <ReturnValue>
716         <ReturnType>System.Int32</ReturnType>
717       </ReturnValue>
718       <Docs>
719         <value>To be added.</value>
720         <since version=".NET 2.0" />
721         <remarks>
722           <attribution license="cc4" from="Microsoft" modified="false" />
723           <para>This property allows a 2-digit year to be properly translated to a 4-digit year. For example, in the Gregorian calendar, if this property is set to 2029, the 100-year range is from 1930 to 2029. Therefore, a 2-digit value of 30 is interpreted as 1930, while a 2-digit value of 29 is interpreted as 2029.</para>
724           <para>The initial value of this property is derived from the settings in the regional and language options portion of Control Panel. However, that information can change during the life of the <see cref="T:System.AppDomain" />. The <see cref="T:System.Globalization.EastAsianLunisolarCalendar" /> class does not detect changes in the system settings automatically.</para>
725         </remarks>
726         <summary>
727           <attribution license="cc4" from="Microsoft" modified="false" />
728           <para>Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.</para>
729         </summary>
730       </Docs>
731     </Member>
732   </Members>
733 </Type>