ADEra Field
Collapse the table of content
Expand the table of content

GregorianCalendar.ADEra Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Represents the current era. This field is constant.

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

public const int ADEra

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft