Module java.base

Enum Class HijrahEra

java.lang.Object
java.lang.Enum<HijrahEra>
java.time.chrono.HijrahEra
All Implemented Interfaces:
Serializable, Comparable<HijrahEra>, Constable, Era, TemporalAccessor, TemporalAdjuster

public enum HijrahEra extends Enum<HijrahEra> implements Era
An era in the Hijrah calendar system.

The Hijrah calendar system has only one era covering the proleptic years greater than zero.

Do not use ordinal() to obtain the numeric representation of HijrahEra. Use getValue() instead.

Implementation Requirements:
This is an immutable and thread-safe enum.
Since:
1.8