Calendar.Era Calendar.Era Calendar.Era Calendar.Era Calendar.Era Property

Definition

Gets or sets the era.

public : int Era { get; set; }
int32_t Era();

void Era(int32_t era);
public int Era { get; set; }
Public ReadWrite Property Era As int
var int = calendar.era;
calendar.era = int;

Property Value

int int int

The integer that represents the 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.