Defines the different language versions of the Gregorian calendar.
Assembly: mscorlib (in mscorlib.dll)
|Refers to the localized version of the Gregorian calendar, based on the language of the CultureInfo that uses the DateTimeFormatInfo.|
|Refers to the U.S. English version of the Gregorian calendar.|
|Refers to the Middle East French version of the Gregorian calendar.|
|Refers to the Arabic version of the Gregorian calendar.|
|Refers to the transliterated English version of the Gregorian calendar.|
|Refers to the transliterated French version of the Gregorian calendar.|
The date and time patterns associated with the GregorianCalendar vary depending on the language. If the GregorianCalendar is selected in DateTimeFormatInfo.Calendar, can be used to specify which date and time patterns to use in that DateTimeFormatInfo.
For Arabic cultures, more language versions of the Gregorian calendar are available. For example, you can use the French version of GregorianCalendar using the value.
A culture that supports GregorianCalendar might not support all language versions of GregorianCalendar. The CultureInfo.Calendar and CultureInfo.OptionalCalendars properties specify the calendars supported by that culture. If GregorianCalendar is supported, CalendarType can be used to determine which language versions of GregorianCalendar are supported.
The following code example demonstrates how to determine the GregorianCalendar language version supported by the culture.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.