GregorianCalendar.ADEra Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the current era. This field is constant.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public const int ADEra

Field Value

Type: System.Int32

The Gregorian calendar recognizes two eras: B.C. or B.C.E., and A.D. or C.E. This implementation of the GregorianCalendar class recognizes only the current era (A.D. or C.E.). This field always returns 1.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: