IsoEra

public final enum IsoEra extends Enum<IsoEra>
implements Era

An era in the ISO calendar system.

The ISO-8601 standard does not define eras. A definition has therefore been created with two eras - 'Current era' (CE) for years on or after 0001-01-01 (ISO), and 'Before current era' (BCE) for years before that.

year-of-era era proleptic-year
2CE2
1CE1
1BCE0
2BCE-1

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

Inherited Method Summary

Enum Values

public static final IsoEra BCE

The singleton instance for the era before the current one, 'Before Current Era', which has the numeric value 0.

public static final IsoEra CE

The singleton instance for the current era, 'Current Era', which has the numeric value 1.