Delen via


Calendar.FirstYearInThisEra Property

Definition

Gets the first Year of the current Era.

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

Property Value

Int32

int

The first 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