Calendar.LastEra Calendar.LastEra Calendar.LastEra Calendar.LastEra Calendar.LastEra Property

Definition

Gets the last Era available in the calendar.

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

Property Value

int int 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.