แก้ไข

แชร์ผ่าน


GregorianCalendar.Eras Property

Definition

Gets the list of eras in the GregorianCalendar.

public:
 virtual property cli::array <int> ^ Eras { cli::array <int> ^ get(); };
public override int[] Eras { get; }
member this.Eras : int[]
Public Overrides ReadOnly Property Eras As Integer()

Property Value

Int32[]

An array of integers that represents the eras in the GregorianCalendar.

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 property always returns an array with only one element.

Applies to

See also