System.Globalization.GregorianCalendarTypes Enumeration

Assembly: Mscorlib.dll
Namespace: System.Globalization
Summary
Defines the different language versions of the Gregorian calendar.
C# Syntax:
[Serializable]
public enum GregorianCalendarTypes
Remarks
Each version differs by language.

The date and time patterns associated with the GregorianCalendar vary depending on the language. If the GregorianCalendar is selected in DateTimeFormatInfo.Calendar, GregorianCalendarTypes 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 GregorianCalendarTypes.MiddleEastFrench value.

A culture that supports GregorianCalendar might not support all GregorianCalendar versions. The CultureInfo.Calendar and CultureInfo.OptionalCalendars properties specify the GregorianCalendar versions supported by that culture.

See also:
System.Globalization Namespace

System.Globalization.GregorianCalendarTypes Member List:

Public Fields
Arabic Refers to the Arabic version of the Gregorian calendar.
Localized Refers to the localized version of the Gregorian calendar, based on the language of the CultureInfo that uses the DateTimeFormatInfo.
MiddleEastFrench Refers to the Middle East French version of the Gregorian calendar.
TransliteratedEnglish Refers to the transliterated English version of the Gregorian calendar.
TransliteratedFrench Refers to the transliterated French version of the Gregorian calendar.
USEnglish Refers to the U.S. English version of the Gregorian calendar.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.