The Accounting calendar system has two eras. The current era, for years from 1 onwards, is known as the 'Current Era'. 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 Current Era' era.
The start of accounting epochs 0001-01-01 (Accounting) will vary against the ISO calendar.
Depending on options chosen, it can start as early as 0000-01-26 (ISO) or as late as 0001-01-04 (ISO).
Do not use ordinal() to obtain the numeric representation of AccountingEra.
Use getValue() instead.
| Modifier and Type | Field and Description |
|---|---|
| public static final AccountingEra | BCE
The singleton instance for the era before the current one, 'Before Current Era', which has the numeric value 0. |
| public static final AccountingEra | CE
The singleton instance for the current era, 'Current Era', which has the numeric value 1. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the era value, from 0 (BCE) to 1 (CE)Implements java. Gets the numeric era |
| public static AccountingEra | Returns: the era singleton, not nullthe BCE/CE value to represent, from 0 (BCE) to 1 (CE) era)Obtains an instance of |
| public static AccountingEra | |
| public static AccountingEra[] |
| BCE | back to summary |
|---|---|
| public static final AccountingEra BCE The singleton instance for the era before the current one, 'Before Current Era', which has the numeric value 0. | |
| CE | back to summary |
|---|---|
| public static final AccountingEra CE The singleton instance for the current era, 'Current Era', which has the numeric value 1. | |
| AccountingEra | back to summary |
|---|---|
| private AccountingEra() | |
| getValue | back to summary |
|---|---|
| public int getValue() Implements java. Gets the numeric era The era BCE has the value 0, while the era CE has the value 1.
| |
| of | back to summary |
|---|---|
| public static AccountingEra of(int era) Obtains an instance of
| |
| valueOf | back to summary |
|---|---|
| public static AccountingEra valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AccountingEra[] values() | |