Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GregorianCalendar.ADEra Field

Definition

Namespace:
System.Globalization
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Runtime.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
GregorianCalendar.cs
Source:
GregorianCalendar.cs
Source:
GregorianCalendar.cs
Source:
GregorianCalendar.cs
Source:
GregorianCalendar.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents the current era. This field is constant.

public: int ADEra = 1;
public const int ADEra = 1;
val mutable ADEra : int
Public Const ADEra As Integer = 1

Field Value

Value = 1

Remarks

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.

Applies to

See also


Feedback

Was this page helpful?