GregorianCalendar.ADEra Field
Definition
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 = 1Remarks
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.