The Coptic calendar system has two eras. The current era, for years from 1 onwards, is known as the 'Era of the Martyrs'. All previous years, zero or earlier in the proleptic count or one and greater in the year-of-era count, are part of the 'Before Era of the Martyrs' era.
The start of the Coptic epoch 0001-01-01 (Coptic) is 0284-08-29 (ISO).
Do not use ordinal() to obtain the numeric representation of CopticEra.
Use getValue() instead.
| Modifier and Type | Field and Description |
|---|---|
| public static final CopticEra | AM
The singleton instance for the current era, 'Era of the Martyrs', which has the numeric value 1. |
| public static final CopticEra | BEFORE_AM
The singleton instance for the era before the current one, 'Before Era of the Martyrs', which has the numeric value 0. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the era value, from 0 (BEFORE_AM) to 1 (AM)Implements java. Gets the numeric era |
| public static CopticEra | Returns: the era singleton, not nullthe BEFORE_AM/AM value to represent, from 0 (BEFORE_AM) to 1 (AM) era)Obtains an instance of |
| public static CopticEra | |
| public static CopticEra[] |
| AM | back to summary |
|---|---|
| public static final CopticEra AM The singleton instance for the current era, 'Era of the Martyrs', which has the numeric value 1. | |
| BEFORE_AM | back to summary |
|---|---|
| public static final CopticEra BEFORE_AM The singleton instance for the era before the current one, 'Before Era of the Martyrs', which has the numeric value 0. | |
| CopticEra | back to summary |
|---|---|
| private CopticEra() | |
| getValue | back to summary |
|---|---|
| public int getValue() Implements java. Gets the numeric era The era BEFORE_AM has the value 0, while the era AM has the value 1.
| |
| of | back to summary |
|---|---|
| public static CopticEra of(int era) Obtains an instance of
| |
| valueOf | back to summary |
|---|---|
| public static CopticEra valueOf(String name) | |
| values | back to summary |
|---|---|
| public static CopticEra[] values() | |