Share via


Calendar.LastYearInThisEra Property

Definition

Gets the last Year of the current Era.

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

Property Value

Int32

int

The last Year of the current Era.

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