The singleton instance for the era BEFORE_ROC, 'Before Republic of China'.
The singleton instance for the era BEFORE_ROC, 'Before Republic of China'. This has the numeric
value of 0
.
The singleton instance for the era ROC, 'Republic of China'.
The singleton instance for the era ROC, 'Republic of China'. This has the numeric value of
1
.
Obtains an instance of MinguoEra
from an int
value.
Obtains an instance of MinguoEra
from an int
value.
MinguoEra
is an enum representing the Minguo eras of BEFORE_ROC/ROC. This factory
allows the enum to be obtained from the int
value.
the BEFORE_ROC/ROC value to represent, from 0 (BEFORE_ROC) to 1 (ROC)
the era singleton, not null
DateTimeException
if the value is invalid