مشاركة عبر


Calendar.LastEra Property

Definition

Gets the last Era available in the calendar.

public:
 property int LastEra { int get(); };
int LastEra();
public int LastEra { get; }
var int32 = calendar.lastEra;
Public ReadOnly Property LastEra As Integer

Property Value

Int32

int

The last Era in the calendar.

Remarks

Note

This API is being updated to support the May 2019 Japanese era change. If your application supports the Japanese calendar, you should validate that it properly handles the new era. See Prepare your application for the Japanese era change for more information.

Applies to

See also