System.Globalization.GregorianCalendarTypes Enumeration

Defines the different language versions of the Gregorian calendar.


public enum GregorianCalendarTypes


The date and time patterns associated with the System.Globalization.GregorianCalendar vary depending on the language. If the System.Globalization.GregorianCalendar is selected in DateTimeFormatInfo.Calendar, System.Globalization.GregorianCalendarTypes can be used to specify which date and time patterns to use in that System.Globalization.DateTimeFormatInfo.

For Arabic cultures, more language versions of the Gregorian calendar are available. For example, you can use the French version of System.Globalization.GregorianCalendar using the GregorianCalendarTypes.MiddleEastFrench value.

A culture that supports System.Globalization.GregorianCalendar might not support all language versions of System.Globalization.GregorianCalendar. The CultureInfo.Calendar and CultureInfo.OptionalCalendars properties specify the calendars supported by that culture. If System.Globalization.GregorianCalendar is supported, GregorianCalendar.CalendarType can be used to determine which language versions of System.Globalization.GregorianCalendar are supported.


Member NameDescription

Refers to the Arabic version of the Gregorian calendar.


Refers to the localized version of the Gregorian calendar, based on the language of the System.Globalization.CultureInfo that uses the System.Globalization.DateTimeFormatInfo.


Refers to the Middle East French 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.


Refers to the U.S. English version of the Gregorian calendar.


Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,