1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="TaiwanLunisolarCalendar" FullName="System.Globalization.TaiwanLunisolarCalendar">
3 <TypeSignature Language="C#" Value="public class TaiwanLunisolarCalendar : System.Globalization.EastAsianLunisolarCalendar" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable TaiwanLunisolarCalendar extends System.Globalization.EastAsianLunisolarCalendar" />
6 <AssemblyName>mscorlib</AssemblyName>
8 <AssemblyVersion>2.0.0.0</AssemblyVersion>
10 <AssemblyVersion>2.0.0.0</AssemblyVersion>
11 <AssemblyVersion>4.0.0.0</AssemblyVersion>
14 <BaseTypeName>System.Globalization.EastAsianLunisolarCalendar</BaseTypeName>
18 <since version=".NET 2.0" />
20 <attribution license="cc4" from="Microsoft" modified="false" />
21 <para>The Taiwan lunisolar calendar works exactly like the Gregorian calendar, except that the year and era are different. The <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> class calculates years using the Gregorian calendar, days and months using the <see cref="T:System.Globalization.EastAsianLunisolarCalendar" /> class, and recognizes only the current era.</para>
22 <block subset="none" type="note">
23 <para>For information about using the <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> 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>
25 <para>The <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> class is derived from the <see cref="T:System.Globalization.EastAsianLunisolarCalendar" /> class, which represents the lunisolar calendar. The <see cref="T:System.Globalization.EastAsianLunisolarCalendar" /> class supports the sexagenary year cycle (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, a Celestial Stem, and a Terrestrial Branch, and these calendars can have leap months after any month of the year.</para>
26 <para>A leap month can occur after any month in a year. For example, the <see cref="M:System.Globalization.EastAsianLunisolarCalendar.GetMonth(System.DateTime)" /> method returns a number between 1 and 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>
27 <para>Currently, the <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> is not used by any of the cultures supported by the <see cref="T:System.Globalization.CultureInfo" /> class. Therefore, this class can be used only to calculate dates in the Taiwan lunisolar calendar.</para>
28 <para>Each <see cref="T:System.Globalization.CultureInfo" /> object supports a set of calendars. The <see cref="P:System.Globalization.CultureInfo.Calendar" /> property returns the default calendar for the culture, and the <see cref="P:System.Globalization.CultureInfo.OptionalCalendars" /> property returns an array containing all the calendars supported by the culture. To change the calendar used by a <see cref="T:System.Globalization.CultureInfo" />, the application should set the <see cref="P:System.Globalization.DateTimeFormatInfo.Calendar" /> property of <see cref="P:System.Globalization.CultureInfo.DateTimeFormat" /> to a new <see cref="T:System.Globalization.Calendar" />.</para>
31 <attribution license="cc4" from="Microsoft" modified="false" />
32 <para>Represents the Taiwan lunisolar calendar. As for the Taiwan calendar, years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar calendar.</para>
36 <Member MemberName=".ctor">
37 <MemberSignature Language="C#" Value="public TaiwanLunisolarCalendar ();" />
38 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
39 <MemberType>Constructor</MemberType>
41 <AssemblyVersion>2.0.0.0</AssemblyVersion>
42 <AssemblyVersion>4.0.0.0</AssemblyVersion>
46 <remarks>To be added.</remarks>
47 <since version=".NET 2.0" />
49 <attribution license="cc4" from="Microsoft" modified="false" />
50 <para>Initializes a new instance of the <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> class. </para>
54 <Member MemberName="DaysInYearBeforeMinSupportedYear">
55 <MemberSignature Language="C#" Value="protected override int DaysInYearBeforeMinSupportedYear { get; }" />
56 <MemberSignature Language="ILAsm" Value=".property instance int32 DaysInYearBeforeMinSupportedYear" />
57 <MemberType>Property</MemberType>
59 <AssemblyVersion>4.0.0.0</AssemblyVersion>
62 <ReturnType>System.Int32</ReturnType>
65 <value>To be added.</value>
67 <attribution license="cc4" from="Microsoft" modified="false" />
68 <para>This property returns a constant value of 384.</para>
71 <attribution license="cc4" from="Microsoft" modified="false" />
72 <para>Gets the number of days in the year that precedes the year specified by the <see cref="P:System.Globalization.TaiwanLunisolarCalendar.MinSupportedDateTime" /> property.</para>
76 <Member MemberName="Eras">
77 <MemberSignature Language="C#" Value="public override int[] Eras { get; }" />
78 <MemberSignature Language="ILAsm" Value=".property instance int32[] Eras" />
79 <MemberType>Property</MemberType>
81 <AssemblyVersion>2.0.0.0</AssemblyVersion>
82 <AssemblyVersion>4.0.0.0</AssemblyVersion>
85 <ReturnType>System.Int32[]</ReturnType>
88 <value>To be added.</value>
89 <since version=".NET 2.0" />
91 <attribution license="cc4" from="Microsoft" modified="false" />
92 <para>The values in the array returned by this property are numbers that range from 1 to the largest era number. The largest era number is returned in the first array element and the smallest era number is returned in the last element.</para>
95 <attribution license="cc4" from="Microsoft" modified="false" />
96 <para>Gets the eras that are relevant to the current <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> object.</para>
100 <Member MemberName="GetEra">
101 <MemberSignature Language="C#" Value="public override int GetEra (DateTime time);" />
102 <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetEra(valuetype System.DateTime time) cil managed" />
103 <MemberType>Method</MemberType>
105 <AssemblyVersion>2.0.0.0</AssemblyVersion>
106 <AssemblyVersion>4.0.0.0</AssemblyVersion>
109 <ReturnType>System.Int32</ReturnType>
112 <Parameter Name="time" Type="System.DateTime" />
115 <remarks>To be added.</remarks>
116 <since version=".NET 2.0" />
118 <attribution license="cc4" from="Microsoft" modified="false" />
119 <para>Retrieves the era that corresponds to the specified <see cref="T:System.DateTime" />.</para>
122 <attribution license="cc4" from="Microsoft" modified="false" />
123 <para>An integer that represents the era specified in the <paramref name="time" /> parameter.</para>
126 <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param>
129 <Member MemberName="MaxSupportedDateTime">
130 <MemberSignature Language="C#" Value="public override DateTime MaxSupportedDateTime { get; }" />
131 <MemberSignature Language="ILAsm" Value=".property instance valuetype System.DateTime MaxSupportedDateTime" />
132 <MemberType>Property</MemberType>
134 <AssemblyVersion>2.0.0.0</AssemblyVersion>
135 <AssemblyVersion>4.0.0.0</AssemblyVersion>
138 <ReturnType>System.DateTime</ReturnType>
141 <value>To be added.</value>
142 <remarks>To be added.</remarks>
143 <since version=".NET 2.0" />
145 <attribution license="cc4" from="Microsoft" modified="false" />
146 <para>Gets the maximum date and time supported by the <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> class.</para>
150 <Member MemberName="MinSupportedDateTime">
151 <MemberSignature Language="C#" Value="public override DateTime MinSupportedDateTime { get; }" />
152 <MemberSignature Language="ILAsm" Value=".property instance valuetype System.DateTime MinSupportedDateTime" />
153 <MemberType>Property</MemberType>
155 <AssemblyVersion>2.0.0.0</AssemblyVersion>
156 <AssemblyVersion>4.0.0.0</AssemblyVersion>
159 <ReturnType>System.DateTime</ReturnType>
162 <value>To be added.</value>
163 <remarks>To be added.</remarks>
164 <since version=".NET 2.0" />
166 <attribution license="cc4" from="Microsoft" modified="false" />
167 <para>Gets the minimum date and time supported by the <see cref="T:System.Globalization.TaiwanLunisolarCalendar" /> class.</para>