Calendar.NumberOfEras Calendar.NumberOfEras Calendar.NumberOfEras Calendar.NumberOfEras Calendar.NumberOfEras Property

Definition

Gets the number of eras in this Calendar object.

public : int NumberOfEras { get; }
int32_t NumberOfEras();
public int NumberOfEras { get; }
Public ReadOnly Property NumberOfEras As int
var int = calendar.numberOfEras;
Property Value
int int int

The number of eras in the Calendar, or – 1 if the number of eras in the Calendar is unknown.