﻿<?xml version="1.0" encoding="utf-8"?><Type Name="PersianCalendar" FullName="System.Globalization.PersianCalendar"><TypeSignature Language="C#" Value="public class PersianCalendar : System.Globalization.Calendar" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit PersianCalendar extends System.Globalization.Calendar" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Globalization.Calendar</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The Persian calendar is used in most countries where Persian is spoken, although some regions use different month names. The Persian calendar is the official calendar of Iran and Afghanistan, and it is one of the alternative calendars in regions such as Kazakhstan and Tajikistan.</para><block subset="none" type="note"><para>For information about using the <see cref="T:System.Globalization.PersianCalendar" /> class and the other calendar classes in the .NET Framework, see <format type="text/html"><a href="0c1534e5-979b-4c8a-a588-1c24301aefb3">Working with Calendars</a></format>.</para></block><para>Dates in the Persian calendar start from the year of the Hijra, which corresponds to 622 C.E. and is the year when Muhammad (PBUH) migrated from Mecca to Medina. For example, the date March 21, 2002 C.E. corresponds to the first day of the month of Farvardeen in the year 1381 Anno Persico.</para><para>The Persian calendar is based on a solar year and is approximately 365 days long. A year cycles through four seasons, and a new year begins when the sun appears to cross the equator from the southern hemisphere to the northern hemisphere as viewed from the center of the Earth. The new year marks the first day of the month of Farvardeen, which is the first day of spring in the northern hemisphere.</para><para>Each of the first six months in the Persian calendar has 31 days, each of the next five months has 30 days, and the last month has 29 days in a common year and 30 days in a leap year. A leap year is a year that, when divided by 33, has a remainder of 1, 5, 9, 13, 17, 22, 26, or 30. For example, the year 1370 is a leap year because dividing it by 33 yields a remainder of 17. There are approximately eight leap years in every 33-year cycle.</para><format type="text/html"><h2>Using the PersianCalendar</h2></format><para>Applications use a <see cref="T:System.Globalization.PersianCalendar" /> object to calculate dates in the Persian calendar or convert Persian dates to and from Gregorian dates. </para><para>Your application should not use a <see cref="T:System.Globalization.PersianCalendar" /> object as the default calendar for a culture. The default calendar is specified by the <see cref="P:System.Globalization.CultureInfo.Calendar" /> property and must be one of the calendars returned by the <see cref="P:System.Globalization.CultureInfo.OptionalCalendars" /> property. Currently, the <see cref="T:System.Globalization.PersianCalendar" /> class is not an optional calendar for any culture supported by the <see cref="T:System.Globalization.CultureInfo" /> class and consequently cannot be a default calendar.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents the Persian calendar.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public PersianCalendar ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Globalization.PersianCalendar" /> class. </para></summary></Docs></Member><Member MemberName="AddMonths"><MemberSignature Language="C#" Value="public override DateTime AddMonths (DateTime time, int months);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.DateTime AddMonths(valuetype System.DateTime time, int32 months) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><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>Returns a <see cref="T:System.DateTime" /> object that is offset the specified number of months from the specified <see cref="T:System.DateTime" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.DateTime" /> object that represents the date yielded by adding the number of months specified by the <paramref name="months" /> parameter to the date specified by the <paramref name="time" /> parameter.</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 positive or negative number of months to add. </param></Docs></Member><Member MemberName="AddYears"><MemberSignature Language="C#" Value="public override DateTime AddYears (DateTime time, int years);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.DateTime AddYears(valuetype System.DateTime time, int32 years) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><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>Returns a <see cref="T:System.DateTime" /> object that is offset the specified number of years from the specified <see cref="T:System.DateTime" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.DateTime" /> object that results from adding the specified number of years to the specified <see cref="T:System.DateTime" /> object.</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 positive or negative number of years to add. </param></Docs></Member><Member MemberName="AlgorithmType"><MemberSignature Language="C#" Value="public override 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><ReturnValue><ReturnType>System.Globalization.CalendarAlgorithmType</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A date calculation for a particular calendar depends on whether the calendar is solar-based, lunar-based, or lunisolar-based.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the current calendar is solar-based, lunar-based, or lunisolar-based.</para></summary></Docs></Member><Member MemberName="Eras"><MemberSignature Language="C#" Value="public override int[] Eras { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int32[] Eras" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32[]</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 list of eras in a <see cref="T:System.Globalization.PersianCalendar" /> object.</para></summary></Docs></Member><Member MemberName="GetDayOfMonth"><MemberSignature Language="C#" Value="public override int GetDayOfMonth (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDayOfMonth(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the day of the month in the specified <see cref="T:System.DateTime" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer from 1 through 31 that represents the day of the month in the specified <see cref="T:System.DateTime" /> object.</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 override DayOfWeek GetDayOfWeek (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance valuetype System.DayOfWeek GetDayOfWeek(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the day of the week in the specified <see cref="T:System.DateTime" /> object.</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 specified <see cref="T:System.DateTime" /> object.</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 override int GetDayOfYear (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDayOfYear(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the day of the year in the specified <see cref="T:System.DateTime" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer from 1 through 366 that represents the day of the year in the specified <see cref="T:System.DateTime" /> object.</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 override int GetDaysInMonth (int year, int month, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDaysInMonth(int32 year, int32 month, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the number of days in the specified month of the specified year and era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of days in the specified month of the specified year and era.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 9378 that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the month, and ranges from 1 through 12 if <paramref name="year" /> is not 9378, or 1 through 10 if <paramref name="year" /> is 9378.</param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="GetDaysInYear"><MemberSignature Language="C#" Value="public override int GetDaysInYear (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetDaysInYear(int32 year, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the number of days in the specified year of the specified era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The number of days in the specified year and era. The number of days is 365 in a common year or 366 in a leap year.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 9378 that represents the year. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="GetEra"><MemberSignature Language="C#" Value="public override int GetEra (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetEra(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the era in the specified <see cref="T:System.DateTime" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>Always returns <see cref="F:System.Globalization.PersianCalendar.PersianEra" />.</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 override int GetLeapMonth (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig 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><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="year" Type="System.Int32" /><Parameter Name="era" Type="System.Int32" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the leap month for a specified year and era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The return value is always 0.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 9378 that represents the year to convert. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="GetMonth"><MemberSignature Language="C#" Value="public override int GetMonth (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetMonth(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the month in the specified <see cref="T:System.DateTime" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer from 1 through 12 that represents the month in the specified <see cref="T:System.DateTime" /> object.</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 override int GetMonthsInYear (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetMonthsInYear(int32 year, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the number of months in the specified year of the specified era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns 10 if the <paramref name="year" /> parameter is 9378; otherwise, always returns 12.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 9378 that represents the year. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="GetYear"><MemberSignature Language="C#" Value="public override int GetYear (DateTime time);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetYear(valuetype System.DateTime time) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns the year in the specified <see cref="T:System.DateTime" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An integer from 1 through 9378 that represents the year in 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 read. </param></Docs></Member><Member MemberName="IsLeapDay"><MemberSignature Language="C#" Value="public override bool IsLeapDay (int year, int month, int day, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsLeapDay(int32 year, int32 month, int32 day, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>A leap day is a day that occurs only in a leap year.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the specified date 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 from 1 through 9378 that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the month and ranges from 1 through 12 if <paramref name="year" /> is not 9378, or 1 through 10 if <paramref name="year" /> is 9378.</param><param name="day"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 31 that represents the day. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="IsLeapMonth"><MemberSignature Language="C#" Value="public override bool IsLeapMonth (int year, int month, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsLeapMonth(int32 year, int32 month, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the specified month in the specified year and era is a leap month.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>Always returns false because the <see cref="T:System.Globalization.PersianCalendar" /> class does not support the notion of a leap month.</para></returns><param name="year"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 9378 that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />An integer that represents the month and ranges from 1 through 12 if <paramref name="year" /> is not 9378, or 1 through 10 if <paramref name="year" /> is 9378.</param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="IsLeapYear"><MemberSignature Language="C#" Value="public override bool IsLeapYear (int year, int era);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool IsLeapYear(int32 year, int32 era) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>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 from 1 through 9378 that represents the year. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="MaxSupportedDateTime"><MemberSignature Language="C#" Value="public override 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><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>December 31, 9999 C.E. is equivalent to the 10th day of the 10th month of the year 9378 in the Persian calendar.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the latest date and time supported by the <see cref="T:System.Globalization.PersianCalendar" /> class.</para></summary></Docs></Member><Member MemberName="MinSupportedDateTime"><MemberSignature Language="C#" Value="public override 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><ReturnValue><ReturnType>System.DateTime</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>March 21, 622 C.E. is equivalent to the first day of the first month of the year 0001 in the Persian calendar.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the earliest date and time supported by the <see cref="T:System.Globalization.PersianCalendar" /> class.</para></summary></Docs></Member><Member MemberName="PersianEra"><MemberSignature Language="C#" Value="public static readonly int PersianEra;" /><MemberSignature Language="ILAsm" Value=".field public static initonly int32 PersianEra" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><MemberValue>1</MemberValue><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The value of <see cref="F:System.Globalization.PersianCalendar.PersianEra" /> is 1.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents the current era. This field is constant.</para></summary></Docs></Member><Member MemberName="ToDateTime"><MemberSignature Language="C#" Value="public override 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 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>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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Globalization.PersianCalendar.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>Returns a <see cref="T:System.DateTime" /> object that is set to the specified date, time, and era.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.DateTime" /> object 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 from 1 through 9378 that represents the year. </param><param name="month"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 12 that represents the month. </param><param name="day"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 1 through 31 that represents the day. </param><param name="hour"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 23 that represents the hour. </param><param name="minute"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 59 that represents the minute. </param><param name="second"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 59 that represents the second. </param><param name="millisecond"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 999 that represents the millisecond. </param><param name="era"><attribution license="cc4" from="Microsoft" modified="false" />An integer from 0 through 1 that represents the era. </param></Docs></Member><Member MemberName="ToFourDigitYear"><MemberSignature Language="C#" Value="public override int ToFourDigitYear (int year);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 ToFourDigitYear(int32 year) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><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><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method converts the <paramref name="year" /> parameter to a four-digit year representation using the <see cref="P:System.Globalization.PersianCalendar.TwoDigitYearMax" /> property. The return value is the upper boundary of a 100-year range that allows a two-digit year to be properly translated to a four-digit year. For example, if the 100-year range is from 1930 through 2029, then a two-digit value of 30 is interpreted as 1930 while a two-digit value of 29 is interpreted as 2029.</para><para><see cref="M:System.Globalization.PersianCalendar.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.PersianCalendar.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.PersianCalendar.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 representation.</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" />An integer from 1 through 9378 that represents the year to convert. </param></Docs></Member><Member MemberName="TwoDigitYearMax"><MemberSignature Language="C#" Value="public override int TwoDigitYearMax { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance int32 TwoDigitYearMax" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><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 in Control Panel. However, that information can change during the life of the <see cref="T:System.AppDomain" />. The <see cref="T:System.Globalization.PersianCalendar" /> 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 calendar class.</para><para>The 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>