﻿<?xml version="1.0" encoding="utf-8"?><Type Name="Calendar" FullName="System.Globalization.Calendar"><TypeSignature Maintainer="auto" Language="C#" Value="public abstract class Calendar : ICloneable" /><TypeSignature Language="ILAsm" Value=".class public auto ansi abstract serializable beforefieldinit Calendar extends System.Object implements class System.ICloneable" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.ICloneable</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A calendar divides time into units, such as weeks, months, and years. The number, length, and start of the divisions vary in each calendar.</para><block subset="none" type="note"><para>For information about using the calendar classes in the .NET Framework, see <format type="text/html"><a href="0c1534e5-979b-4c8a-a588-1c24301aefb3">Working with Calendars</a></format>.</para></block><para>Any moment in time can be represented as a set of numeric values using a particular calendar. For example, a vernal equinox occurred at (1999, 3, 20, 8, 46, 0, 0.0) in the Gregorian calendar, that is, March 20, 1999 C.E. at 8:46:00:0.0. An implementation of <see cref="T:System.Globalization.Calendar" /> can map any date in the range of a specific calendar to a similar set of numeric values, and <see cref="T:System.DateTime" /> can map such sets of numeric values to a textual representation using information from <see cref="T:System.Globalization.Calendar" /> and <see cref="T:System.Globalization.DateTimeFormatInfo" />. The textual representation can be culture-sensitive, for example, "8:46 AM March 20th 1999 AD" for the en-US culture, or culture-insensitive, for example, "1999-03-20T08:46:00" in ISO 8601 format.</para><para>A <see cref="T:System.Globalization.Calendar" /> implementation can define one or more eras. The <see cref="T:System.Globalization.Calendar" /> class identifies the eras as enumerated integers, where the current era (<see cref="F:System.Globalization.Calendar.CurrentEra" />) has the value 0.</para><para>To make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days from a standard calendar year. Each <see cref="T:System.Globalization.Calendar" /> implementation defines leap years differently.</para><para>For consistency, the first unit in each interval (the first month, for example) is assigned the value 1.</para><para>The <see cref="N:System.Globalization" /> namespace includes the following <see cref="T:System.Globalization.Calendar" /> implementations:</para><list type="bullet"><item><para><see cref="T:System.Globalization.ChineseLunisolarCalendar" /></para></item><item><para><see cref="T:System.Globalization.EastAsianLunisolarCalendar" /></para></item><item><para><see cref="T:System.Globalization.GregorianCalendar" /></para></item><item><para><see cref="T:System.Globalization.HebrewCalendar" /></para></item><item><para><see cref="T:System.Globalization.HijriCalendar" /></para></item><item><para><see cref="T:System.Globalization.JapaneseCalendar" /></para></item><item><para><see cref="T:System.Globalization.JapaneseLunisolarCalendar" /></para></item><item><para><see cref="T:System.Globalization.JulianCalendar" /></para></item><item><para><see cref="T:System.Globalization.KoreanCalendar" /></para></item><item><para><see cref="T:System.Globalization.KoreanLunisolarCalendar" /></para></item><item><para><see cref="T:System.Globalization.PersianCalendar" /></para></item><item><para><see cref="T:System.Globalization.TaiwanCalendar" /></para></item><item><para><see cref="T:System.Globalization.TaiwanLunisolarCalendar" /></para></item><item><para><see cref="T:System.Globalization.ThaiBuddhistCalendar" /></para></item><item><para><see cref="T:System.Globalization.UmAlQuraCalendar" /></para></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents time in divisions, such as weeks, months, and years.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected Calendar ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue /><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Globalization.Calendar" /> class.</para></summary></Docs></Member><Member MemberName="AddDays"><MemberSignature Language="C#" Value="public virtual DateTime AddDays (DateTime time, int days);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddDays(valuetype System.DateTime time, int32 days) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="days" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="days" /> value is added to the specified <see cref="T:System.DateTime" />. If <paramref name="days" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><para>The month part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is outside the month of the specified <see cref="T:System.DateTime" />. 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" />. The era part of the resulting <see cref="T:System.DateTime" /> is affected 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><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><para>code reference: System.Globalization.Calendar.AddMethods#1</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.DateTime" /> that is the specified number of days away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of days to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add days. </param><param name="days"><attribution license="cc4" from="Microsoft" modified="false" />The number of days to add. </param></Docs></Member><Member MemberName="AddHours"><MemberSignature Language="C#" Value="public virtual DateTime AddHours (DateTime time, int hours);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddHours(valuetype System.DateTime time, int32 hours) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="hours" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="hours" /> value is added to the specified <see cref="T:System.DateTime" />. If <paramref name="hours" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><para>The day part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting time is outside the day of the specified <see cref="T:System.DateTime" />. The month part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is outside the month of the specified <see cref="T:System.DateTime" />. 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" />. The era part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting year is outside the era of the specified <see cref="T:System.DateTime" />.</para><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><para>code reference: System.Globalization.Calendar.AddMethods#2</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.DateTime" /> that is the specified number of hours away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of hours to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add hours. </param><param name="hours"><attribution license="cc4" from="Microsoft" modified="false" />The number of hours to add. </param></Docs></Member><Member MemberName="AddMilliseconds"><MemberSignature Language="C#" Value="public virtual DateTime AddMilliseconds (DateTime time, double milliseconds);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddMilliseconds(valuetype System.DateTime time, float64 milliseconds) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="milliseconds" Type="System.Double" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="milliseconds" /> value is rounded to the nearest integer before it is added to the specified <see cref="T:System.DateTime" />. If <paramref name="milliseconds" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><para>The day part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting time is outside the day of the specified <see cref="T:System.DateTime" />. The month part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is outside the month of the specified <see cref="T:System.DateTime" />. 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" />. The era part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting year is outside the era of the specified <see cref="T:System.DateTime" />.</para><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><para>code reference: System.Globalization.Calendar.AddMethods#3</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.DateTime" /> that is the specified number of milliseconds away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of milliseconds to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to add milliseconds to. </param><param name="milliseconds"><attribution license="cc4" from="Microsoft" modified="false" />The number of milliseconds to add.</param></Docs></Member><Member MemberName="AddMinutes"><MemberSignature Language="C#" Value="public virtual DateTime AddMinutes (DateTime time, int minutes);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddMinutes(valuetype System.DateTime time, int32 minutes) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="minutes" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="minutes" /> value is added to the specified <see cref="T:System.DateTime" />. If <paramref name="minutes" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><para>The day part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting time is outside the day of the specified <see cref="T:System.DateTime" />. The month part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is outside the month of the specified <see cref="T:System.DateTime" />. 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" />. The era part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting year is outside the era of the specified <see cref="T:System.DateTime" />.</para><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><para>code reference: System.Globalization.Calendar.AddMethods#4</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.DateTime" /> that is the specified number of minutes away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of minutes to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add minutes. </param><param name="minutes"><attribution license="cc4" from="Microsoft" modified="false" />The number of minutes to add. </param></Docs></Member><Member MemberName="AddMonths"><MemberSignature Language="C#" Value="public abstract DateTime AddMonths (DateTime time, int months);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddMonths(valuetype System.DateTime time, int32 months) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="months" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="months" /> value is added to the specified <see cref="T:System.DateTime" />. If <paramref name="months" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><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. It 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" />. The era part of the resulting <see cref="T:System.DateTime" /> is affected 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><para>For example, suppose that the current calendar has 12 months, where the fourth month has 30 days and the tenth month has 31 days. If the specified month is the tenth month, the specified day is the 31st 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 the fourth month, and the resulting day is the 30th day, which is the last day of the resulting month.</para><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><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><para>code reference: System.Globalization.Calendar.AddMethods#5</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns a <see cref="T:System.DateTime" /> that is the specified number of months away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of months to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add months. </param><param name="months"><attribution license="cc4" from="Microsoft" modified="false" />The number of months to add. </param></Docs></Member><Member MemberName="AddSeconds"><MemberSignature Language="C#" Value="public virtual DateTime AddSeconds (DateTime time, int seconds);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddSeconds(valuetype System.DateTime time, int32 seconds) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="seconds" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="seconds" /> value is added to the specified <see cref="T:System.DateTime" />. If <paramref name="seconds" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><para>The day part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting time is outside the day of the specified <see cref="T:System.DateTime" />. The month part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is outside the month of the specified <see cref="T:System.DateTime" />. 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" />. The era part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting year is outside the era of the specified <see cref="T:System.DateTime" />.</para><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><para>code reference: System.Globalization.Calendar.AddMethods#6</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.DateTime" /> that is the specified number of seconds away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of seconds to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add seconds. </param><param name="seconds"><attribution license="cc4" from="Microsoft" modified="false" />The number of seconds to add. </param></Docs></Member><Member MemberName="AddWeeks"><MemberSignature Language="C#" Value="public virtual DateTime AddWeeks (DateTime time, int weeks);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddWeeks(valuetype System.DateTime time, int32 weeks) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="weeks" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="weeks" /> value is added to the specified <see cref="T:System.DateTime" />. If <paramref name="weeks" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><para>The month part of the resulting <see cref="T:System.DateTime" /> is affected if the resulting day is outside the month of the specified <see cref="T:System.DateTime" />. 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" />. The era part of the resulting <see cref="T:System.DateTime" /> is affected 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><para>In all .NET Framework classes derived from the <see cref="T:System.Globalization.Calendar" /> class, a week is defined as seven days.</para><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><para>code reference: System.Globalization.Calendar.AddMethods#7</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.DateTime" /> that is the specified number of weeks away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of weeks to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add weeks. </param><param name="weeks"><attribution license="cc4" from="Microsoft" modified="false" />The number of weeks to add. </param></Docs></Member><Member MemberName="AddYears"><MemberSignature Language="C#" Value="public abstract DateTime AddYears (DateTime time, int years);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime AddYears(valuetype System.DateTime time, int32 years) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="years" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="years" /> value is added to the specified <see cref="T:System.DateTime" />. If <paramref name="years" /> is negative, the resulting <see cref="T:System.DateTime" /> is earlier than the specified <see cref="T:System.DateTime" />.</para><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. It 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" /> is affected if the resulting month is not a valid month in the resulting year. It is changed to the last valid month in the resulting year. The era part of the resulting <see cref="T:System.DateTime" /> is affected 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><para>For example, in the Gregorian calendar, February has 28 days, except during a leap year when it has 29 days. If the specified date is the 29th day of February in a leap year and the value of <paramref name="years" /> is 1, the resulting date is the 28th day of February in the following year.</para><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><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><para>code reference: System.Globalization.Calendar.AddMethods#8</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns a <see cref="T:System.DateTime" /> that is the specified number of years away from the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that results from adding the specified number of years to the specified <see cref="T:System.DateTime" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to which to add years. </param><param name="years"><attribution license="cc4" from="Microsoft" modified="false" />The number of years to add. </param></Docs></Member><Member MemberName="AlgorithmType"><MemberSignature Language="C#" Value="public virtual System.Globalization.CalendarAlgorithmType AlgorithmType { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.Globalization.CalendarAlgorithmType AlgorithmType" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Globalization.CalendarAlgorithmType</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the current calendar is solar-based, lunar-based, or a combination of both.</para></summary></Docs></Member><Member MemberName="Clone"><MemberSignature Language="C#" Value="public virtual object Clone ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object Clone() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The new memberwise clone is not read-only.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates a new object that is a copy of the current <see cref="T:System.Globalization.Calendar" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A new instance of <see cref="T:System.Object" /> that is the memberwise clone of the current <see cref="T:System.Globalization.Calendar" /> object.</para></returns></Docs></Member><Member MemberName="CurrentEra"><MemberSignature Language="C#" Value="public const int CurrentEra = 0;" /><MemberSignature Language="ILAsm" Value=".field public static literal int32 CurrentEra = (0)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><MemberValue>0</MemberValue><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="F:System.Globalization.Calendar.CurrentEra" /> field represents the index of the current era in the <see cref="P:System.Globalization.Calendar.Eras" /> array. Because eras are arranged in reverse chronological order (from the current era to earlier eras), this field is a constant that has a value of 0.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents the current era of the current calendar. </para></summary></Docs></Member><Member MemberName="DaysInYearBeforeMinSupportedYear"><MemberSignature Language="C#" Value="protected virtual int DaysInYearBeforeMinSupportedYear { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 DaysInYearBeforeMinSupportedYear" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property returns a constant value of 365. Note that the property value can be overridden by classes derived from the <see cref="T:System.Globalization.Calendar" /> class.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the number of days in the year that precedes the year that is specified by the <see cref="P:System.Globalization.Calendar.MinSupportedDateTime" /> property.</para></summary></Docs></Member><Member MemberName="Eras"><MemberSignature Language="C#" Value="public abstract int[] Eras { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32[] Eras" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32[]</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'int []'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The eras are in reverse chronological order, with the current era as the first element of the array, and the oldest era as the last element of the array. For example, the value of the current era in <see cref="T:System.Globalization.JapaneseCalendar" /> is 4, which is the first element of the array.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, gets the list of eras in the current calendar.</para></summary></Docs></Member><Member MemberName="GetDayOfMonth"><MemberSignature Language="C#" Value="public abstract int GetDayOfMonth (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetDayOfMonth(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the day of the month in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A positive integer that represents the day of the month in the <paramref name="time" /> parameter.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetDayOfWeek"><MemberSignature Language="C#" Value="public abstract DayOfWeek GetDayOfWeek (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DayOfWeek GetDayOfWeek(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DayOfWeek</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DayOfWeek" /> values are Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the day of the week in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.DayOfWeek" /> value that represents the day of the week in the <paramref name="time" /> parameter.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetDayOfYear"><MemberSignature Language="C#" Value="public abstract int GetDayOfYear (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetDayOfYear(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The day of the year is defined as the number of days from the first day of the year. For example, in <see cref="T:System.Globalization.GregorianCalendar" />, <see cref="M:System.Globalization.Calendar.GetDayOfYear(System.DateTime)" /> for January 1 returns 1, and <see cref="M:System.Globalization.Calendar.GetDayOfYear(System.DateTime)" /> for December 31 returns 365 in a common year or 366 in a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the day of the year in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A positive integer that represents the day of the year in the <paramref name="time" /> parameter.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetDaysInMonth"><MemberSignature Language="C#" Value="public virtual int GetDaysInMonth (int year, int month);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetDaysInMonth(int32 year, int32 month) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For example, in <see cref="T:System.Globalization.GregorianCalendar" />, <see cref="M:System.Globalization.Calendar.GetDaysInMonth(System.Int32,System.Int32)" /> for February returns 28 in a common year or 29 in a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the number of days in the specified month and year of the current era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of days in the specified month in the specified year in the current era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param></Docs></Member><Member MemberName="GetDaysInMonth"><MemberSignature Language="C#" Value="public abstract int GetDaysInMonth (int year, int month, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetDaysInMonth(int32 year, int32 month, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For example, in <see cref="T:System.Globalization.GregorianCalendar" />, <see cref="M:System.Globalization.Calendar.GetDaysInMonth(System.Int32,System.Int32)" /> for February returns 28 in a common year or 29 in a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the number of days in the specified month, year, and era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of days in the specified month in the specified year in the specified era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param></Docs></Member><Member MemberName="GetDaysInYear"><MemberSignature Language="C#" Value="public virtual int GetDaysInYear (int year);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetDaysInYear(int32 year) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For example, in <see cref="T:System.Globalization.GregorianCalendar" />, <see cref="M:System.Globalization.Calendar.GetDaysInYear(System.Int32)" /> returns 365 for a common year or 366 for a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the number of days in the specified year of the current era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of days in the specified year in the current era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param></Docs></Member><Member MemberName="GetDaysInYear"><MemberSignature Language="C#" Value="public abstract int GetDaysInYear (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetDaysInYear(int32 year, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For example, in <see cref="T:System.Globalization.GregorianCalendar" />, <see cref="M:System.Globalization.Calendar.GetDaysInYear(System.Int32)" /> returns 365 for a common year or 366 for a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the number of days in the specified year and era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of days in the specified year in the specified era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param></Docs></Member><Member MemberName="GetEra"><MemberSignature Language="C#" Value="public abstract int GetEra (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetEra(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the era in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer that represents the era in <paramref name="time" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetHour"><MemberSignature Language="C#" Value="public virtual int GetHour (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetHour(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the hours value in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer from 0 to 23 that represents the hour in <paramref name="time" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetLeapMonth"><MemberSignature Language="C#" Value="public virtual int GetLeapMonth (int year);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetLeapMonth(int32 year) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>In a calendar that supports the notion of 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 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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Calculates the leap month for a specified year.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A positive integer that indicates the leap month in the specified year.</para><para>-or-</para><para>Zero if this calendar does not support a leap month or if the <paramref name="year" /> parameter does not represent a leap year.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />A year.</param></Docs></Member><Member MemberName="GetLeapMonth"><MemberSignature Language="C#" Value="public virtual int GetLeapMonth (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetLeapMonth(int32 year, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>In a calendar that supports the notion of 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 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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Calculates the leap month for a specified year and era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A positive integer that indicates the leap month in the specified year and era.</para><para>-or-</para><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></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />A year.</param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An era.</param></Docs></Member><Member MemberName="GetMilliseconds"><MemberSignature Language="C#" Value="public virtual double GetMilliseconds (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance float64 GetMilliseconds(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Double</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the milliseconds value in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A double-precision floating-point number from 0 to 999 that represents the milliseconds in the <paramref name="time" /> parameter.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetMinute"><MemberSignature Language="C#" Value="public virtual int GetMinute (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetMinute(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the minutes value in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer from 0 to 59 that represents the minutes in <paramref name="time" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetMonth"><MemberSignature Language="C#" Value="public abstract int GetMonth (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetMonth(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For example, in <see cref="T:System.Globalization.HebrewCalendar" />, <see cref="M:System.Globalization.Calendar.GetMonth(System.DateTime)" /> for Tishrei returns 1, and <see cref="M:System.Globalization.Calendar.GetMonth(System.DateTime)" /> for Elul returns 12 in a common year or 13 in a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the month in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A positive integer that represents the month in <paramref name="time" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetMonthsInYear"><MemberSignature Language="C#" Value="public virtual int GetMonthsInYear (int year);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetMonthsInYear(int32 year) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For example, in <see cref="T:System.Globalization.HebrewCalendar" />, <see cref="M:System.Globalization.Calendar.GetMonthsInYear(System.Int32)" /> returns 12 for a common year or 13 for a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the number of months in the specified year in the current era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of months in the specified year in the current era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param></Docs></Member><Member MemberName="GetMonthsInYear"><MemberSignature Language="C#" Value="public abstract int GetMonthsInYear (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetMonthsInYear(int32 year, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For example, in <see cref="T:System.Globalization.HebrewCalendar" />, <see cref="M:System.Globalization.Calendar.GetMonthsInYear(System.Int32)" /> returns 12 for a common year or 13 for a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the number of months in the specified year in the specified era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of months in the specified year in the specified era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param></Docs></Member><Member MemberName="GetSecond"><MemberSignature Language="C#" Value="public virtual int GetSecond (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetSecond(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the seconds value in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer from 0 to 59 that represents the seconds in <paramref name="time" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="GetWeekOfYear"><MemberSignature Language="C#" Value="public virtual int GetWeekOfYear (DateTime time, System.Globalization.CalendarWeekRule rule, DayOfWeek firstDayOfWeek);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetWeekOfYear(valuetype System.DateTime time, valuetype System.Globalization.CalendarWeekRule rule, valuetype System.DayOfWeek firstDayOfWeek) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /><Parameter Name="rule" Type="System.Globalization.CalendarWeekRule" /><Parameter Name="firstDayOfWeek" Type="System.DayOfWeek" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method can be used to determine the number of weeks in the year by setting <paramref name="time" /> to the last day of the year.</para><para>The <see cref="T:System.Globalization.DateTimeFormatInfo" /> object for a particular culture that uses the calendar indicated by the <see cref="P:System.Globalization.DateTimeFormatInfo.Calendar" /> property includes the following culture-specific values that can be used for the <paramref name="rule" /> and <paramref name="firstDayOfWeek" /> parameters:</para><list type="bullet"><item><para>The <see cref="P:System.Globalization.DateTimeFormatInfo.FirstDayOfWeek" /> property contains the default first day of the week that can be used for the <paramref name="firstDayOfWeek" /> parameter. </para></item><item><para>The <see cref="P:System.Globalization.DateTimeFormatInfo.CalendarWeekRule" /> property contains the default calendar week rule that can be used for the <paramref name="rule" /> parameter.</para></item></list><para>The following example uses the current culture's <see cref="T:System.Globalization.DateTimeFormatInfo" /> object to determine that January 1, 2011 is in the first week of the year in the Gregorian calendar.</para><para>code reference: System.Globalization.Calendar.GetWeekOfYear#2</para><para>For some calendars, a call to the <see cref="M:System.Globalization.Calendar.GetWeekOfYear(System.DateTime,System.Globalization.CalendarWeekRule,System.DayOfWeek)" /> method throws an <see cref="T:System.ArgumentOutOfRangeException" /> for particular combinations of <paramref name="rule" /> and <paramref name="firstDayOfWeek" /> values even if <paramref name="time" /> is greater than the date returned by that calendar's <see cref="P:System.Globalization.Calendar.MinSupportedDateTime" /> property. The following table lists the affected calendars, the specific <paramref name="rule" /> values, and the range of the earliest supported <paramref name="time" /> values. The specific minimum <see cref="T:System.DateTime" /> value depends on the value of the <paramref name="firstDayOfWeek" /> parameter.</para><list type="table"><listheader><item><term><para>Calendar</para></term><description><para>CalendarWeekRule value</para></description><description><para>Gregorian date (M/dd/yyyy)</para></description><description><para>Date in calendar (M/dd/yyyy)</para></description></item></listheader><item><term><para><see cref="T:System.Globalization.ChineseLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para> 2/19/1901 to 2/25/1901</para></description><description><para>1/1/1901 to 1/7/1901</para></description></item><item><term><para><see cref="T:System.Globalization.ChineseLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>2/19/1901 to 2/22/1901</para></description><description><para>1/01/1901 to 1/04/1901</para></description></item><item><term><para><see cref="T:System.Globalization.HebrewCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstDay" /></para></description><description><para>9/17/1583</para></description><description><para>1/01/5344</para></description></item><item><term><para><see cref="T:System.Globalization.HebrewCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>9/17/1583 to 9/23/1583</para></description><description><para>1/01/5344 to 1/07/5344</para></description></item><item><term><para><see cref="T:System.Globalization.HebrewCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>9/17/1583 to 9/20/1583</para></description><description><para>1/01/5344 to 1/04/5344</para></description></item><item><term><para><see cref="T:System.Globalization.HijriCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>7/18/0622 to 7/24/0622</para></description><description><para>1/01/0001 to 1/07/0001</para></description></item><item><term><para><see cref="T:System.Globalization.HijriCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>7/18/0622 to 7/21/0622</para></description><description><para>1/01/0001 to 1/04/0001</para></description></item><item><term><para><see cref="T:System.Globalization.JapaneseLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>1/28/1960 to 2/03/1960</para></description><description><para>1/01/35 to 1/07/0035</para></description></item><item><term><para><see cref="T:System.Globalization.JapaneseLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>1/28/1960 to 1/31/1960</para></description><description><para>1/01/0035 to 1/04/0035</para></description></item><item><term><para><see cref="T:System.Globalization.JulianCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>1/01/0001 to 1/05/0001</para></description><description><para>1/03/0001 to 1/07/0001</para></description></item><item><term><para><see cref="T:System.Globalization.JulianCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>1/01/0001 to 1/02/0001</para></description><description><para>1/03/0001 to 1/04/0001</para></description></item><item><term><para><see cref="T:System.Globalization.KoreanLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>2/14/0918 to 2/20/0918</para></description><description><para>1/01/0918 to 1/07/0918</para></description></item><item><term><para><see cref="T:System.Globalization.KoreanLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>2/14/0918 to 2/17/0918</para></description><description><para>1/01/0918 to 1/04/0918</para></description></item><item><term><para><see cref="T:System.Globalization.PersianCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>3/21/0622 to 3/27/0622</para></description><description><para>1/01/0001 to 1/07/0001</para></description></item><item><term><para><see cref="T:System.Globalization.PersianCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>3/21/0622 to 3/24/0622</para></description><description><para>1/01/0001 to 1/04/0001</para></description></item><item><term><para><see cref="T:System.Globalization.TaiwanLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>2/18/1912 to 2/24/1912</para></description><description><para>1/01/0001 to 1/07/0001</para></description></item><item><term><para><see cref="T:System.Globalization.TaiwanLunisolarCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>2/18/1912 to 2/21/1912</para></description><description><para>1/01/0001 to 1/04/0001</para></description></item><item><term><para><see cref="T:System.Globalization.UmAlQuraCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFullWeek" /></para></description><description><para>4/30/1900 to 5/06/1900</para></description><description><para>1/01/1318 to 1/07/1318</para></description></item><item><term><para><see cref="T:System.Globalization.UmAlQuraCalendar" /></para></term><description><para><see cref="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek" /></para></description><description><para>4/30/1900 to 5/03/1900</para></description><description><para>1/01/1318 to 1/04/1318</para></description></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the week of the year that includes the date in the specified <see cref="T:System.DateTime" /> value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A positive integer that represents the week of the year that includes the date in the <paramref name="time" /> parameter.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />A date and time value. </param><param name="rule"><attribution license="cc4" from="Microsoft" modified="false" />An enumeration value that defines a calendar week. </param><param name="firstDayOfWeek"><attribution license="cc4" from="Microsoft" modified="false" />An enumeration value that represents the first day of the week. </param></Docs></Member><Member MemberName="GetYear"><MemberSignature Language="C#" Value="public abstract int GetYear (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GetYear(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="time" Type="System.DateTime" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns the year in the specified <see cref="T:System.DateTime" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer that represents the year in <paramref name="time" />.</para></returns><param name="time"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.DateTime" /> to read. </param></Docs></Member><Member MemberName="IsLeapDay"><MemberSignature Language="C#" Value="public virtual bool IsLeapDay (int year, int month, int day);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsLeapDay(int32 year, int32 month, int32 day) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /><Parameter Name="day" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days from a standard calendar year. Each <see cref="T:System.Globalization.Calendar" /> implementation defines leap years differently.</para><para>A leap day is a day that occurs only in a leap year. For example, in the Gregorian calendar, the 29th day of February is the only leap day.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the specified date in the current era is a leap day.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified day is a leap day; otherwise, false.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param><param name="day"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the day. </param></Docs></Member><Member MemberName="IsLeapDay"><MemberSignature Language="C#" Value="public abstract bool IsLeapDay (int year, int month, int day, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsLeapDay(int32 year, int32 month, int32 day, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /><Parameter Name="day" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days from a standard calendar year. Each <see cref="T:System.Globalization.Calendar" /> implementation defines leap years differently.</para><para>A leap day is a day that occurs only in a leap year. For example, in the Gregorian calendar, the 29th day of February is the only leap day.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, determines whether the specified date in the specified era is a leap day.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified day is a leap day; otherwise, false.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param><param name="day"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the day. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param></Docs></Member><Member MemberName="IsLeapMonth"><MemberSignature Language="C#" Value="public virtual bool IsLeapMonth (int year, int month);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsLeapMonth(int32 year, int32 month) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days from a standard calendar year. Each <see cref="T:System.Globalization.Calendar" /> implementation defines leap years differently.</para><para>A leap month is an entire month that occurs only in a leap year. For example, in the Hebrew calendar, Adar Beit is the only leap month.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the specified month in the specified year in the current era is a leap month.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified month is a leap month; otherwise, false.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param></Docs></Member><Member MemberName="IsLeapMonth"><MemberSignature Language="C#" Value="public abstract bool IsLeapMonth (int year, int month, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsLeapMonth(int32 year, int32 month, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days from a standard calendar year. Each <see cref="T:System.Globalization.Calendar" /> implementation defines leap years differently.</para><para>A leap month is an entire month that occurs only in a leap year. For example, in the Hebrew calendar, Adar Beit is the only leap month.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, determines whether the specified month in the specified year in the specified era is a leap month.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified month is a leap month; otherwise, false.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param></Docs></Member><Member MemberName="IsLeapYear"><MemberSignature Language="C#" Value="public virtual bool IsLeapYear (int year);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsLeapYear(int32 year) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days from a standard calendar year. Each <see cref="T:System.Globalization.Calendar" /> implementation defines leap years differently.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the specified year in the current era is a leap year.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified year is a leap year; otherwise, false.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param></Docs></Member><Member MemberName="IsLeapYear"><MemberSignature Language="C#" Value="public abstract bool IsLeapYear (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsLeapYear(int32 year, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To make up for the difference between the calendar year and the actual time that the earth rotates around the sun or the actual time that the moon rotates around the earth, a leap year has a different number of days from a standard calendar year. Each <see cref="T:System.Globalization.Calendar" /> implementation defines leap years differently.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, determines whether the specified year in the specified era is a leap year.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified year is a leap year; otherwise, false.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param></Docs></Member><Member MemberName="IsReadOnly"><MemberSignature Language="C#" Value="public bool IsReadOnly { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether this <see cref="T:System.Globalization.Calendar" /> object is read-only.</para></summary></Docs></Member><Member MemberName="MaxSupportedDateTime"><MemberSignature Language="C#" Value="public virtual DateTime MaxSupportedDateTime { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.DateTime MaxSupportedDateTime" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the latest date and time supported by this <see cref="T:System.Globalization.Calendar" /> object.</para></summary></Docs></Member><Member MemberName="MinSupportedDateTime"><MemberSignature Language="C#" Value="public virtual DateTime MinSupportedDateTime { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.DateTime MinSupportedDateTime" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the earliest date and time supported by this <see cref="T:System.Globalization.Calendar" /> object.</para></summary></Docs></Member><Member MemberName="ReadOnly"><MemberSignature Language="C#" Value="public static System.Globalization.Calendar ReadOnly (System.Globalization.Calendar calendar);" /><MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Globalization.Calendar ReadOnly(class System.Globalization.Calendar calendar) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Globalization.Calendar</ReturnType></ReturnValue><Parameters><Parameter Name="calendar" Type="System.Globalization.Calendar" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a read-only version of the specified <see cref="T:System.Globalization.Calendar" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Globalization.Calendar" /> object specified by the <paramref name="calendar" /> parameter, if <paramref name="calendar" /> is read-only.</para><para>-or-</para><para>A read-only memberwise clone of the <see cref="T:System.Globalization.Calendar" /> object specified by <paramref name="calendar" />, if <paramref name="calendar" /> is not read-only.</para></returns><param name="calendar"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.Calendar" /> object.</param></Docs></Member><Member MemberName="ToDateTime"><MemberSignature Language="C#" Value="public virtual DateTime ToDateTime (int year, int month, int day, int hour, int minute, int second, int millisecond);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime ToDateTime(int32 year, int32 month, int32 day, int32 hour, int32 minute, int32 second, int32 millisecond) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /><Parameter Name="day" Type="System.Int32" /><Parameter Name="hour" Type="System.Int32" /><Parameter Name="minute" Type="System.Int32" /><Parameter Name="second" Type="System.Int32" /><Parameter Name="millisecond" Type="System.Int32" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.DateTime" /> that is set to the specified date and time in the current era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that is set to the specified date and time in the current era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param><param name="day"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the day. </param><param name="hour"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 23 that represents the hour. </param><param name="minute"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 59 that represents the minute. </param><param name="second"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 59 that represents the second. </param><param name="millisecond"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 999 that represents the millisecond. </param></Docs></Member><Member MemberName="ToDateTime"><MemberSignature Language="C#" Value="public abstract DateTime ToDateTime (int year, int month, int day, int hour, int minute, int second, int millisecond, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.DateTime ToDateTime(int32 year, int32 month, int32 day, int32 hour, int32 minute, int32 second, int32 millisecond, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="month" Type="System.Int32" /><Parameter Name="day" Type="System.Int32" /><Parameter Name="hour" Type="System.Int32" /><Parameter Name="minute" Type="System.Int32" /><Parameter Name="second" Type="System.Int32" /><Parameter Name="millisecond" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Globalization.Calendar.ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" /> method is useful because it 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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>When overridden in a derived class, returns a <see cref="T:System.DateTime" /> that is set to the specified date and time in the specified era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> that is set to the specified date and time in the current era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the month. </param><param name="day"><attribution license="cc4" from="Microsoft" modified="false" />A positive integer that represents the day. </param><param name="hour"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 23 that represents the hour. </param><param name="minute"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 59 that represents the minute. </param><param name="second"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 59 that represents the second. </param><param name="millisecond"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 to 999 that represents the millisecond. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the era. </param></Docs></Member><Member MemberName="ToFourDigitYear"><MemberSignature Language="C#" Value="public virtual int ToFourDigitYear (int year);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 ToFourDigitYear(int32 year) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para><see cref="P:System.Globalization.Calendar.TwoDigitYearMax" /> is the last year in the 100-year range that can be represented by a two-digit year. The century is determined by finding the sole occurrence of the two-digit <paramref name="year" /> within that 100-year range. For example, if <see cref="P:System.Globalization.Calendar.TwoDigitYearMax" /> 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><para>If <paramref name="year" /> is greater than or equal to 100, the value of <paramref name="year" /> is returned unchanged.</para><para><see cref="M:System.Globalization.Calendar.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.Calendar.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.Calendar.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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts the specified year to a four-digit year by using the <see cref="P:System.Globalization.Calendar.TwoDigitYearMax" /> property to determine the appropriate century.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer that contains the four-digit representation of <paramref name="year" />.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />A two-digit or four-digit integer that represents the year to convert. </param></Docs></Member><Member MemberName="TwoDigitYearMax"><MemberSignature Language="C#" Value="public virtual int TwoDigitYearMax { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 TwoDigitYearMax" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters></Parameters><Docs><value>To be added: an object of type 'int'</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property allows a 2-digit year to be properly translated to a 4-digit year. For example, 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><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.Calendar" /> class does not detect changes in the system settings automatically. If the calendar is not supported in the regional and language options, the initial value of this property is the default value defined by the <see cref="T:System.Globalization.Calendar" /> class.</para><para>Your application should set this value to 99 to indicate that 2-digit years are to be taken literally. For example, if this property is set to 99, the 100-year range is from 0 (not a valid value for most calendars) to 99. Therefore, a 2-digit value of 30 is interpreted as 30.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.</para></summary></Docs></Member></Members></Type>