MenoData / Time4J

Advanced date, time and interval library for Java with sun/moon-astronomy and calendars like Chinese, Coptic, Ethiopian, French Republican, Hebrew, Hijri, Historic Christian, Indian National, Japanese, Julian, Korean, Minguo, Persian, Thai, Vietnamese
GNU Lesser General Public License v2.1
438 stars 64 forks source link

New Japanese nengo defined in sys property not correctly checked #929

Closed MenoData closed 3 years ago

MenoData commented 3 years ago

It is possible to define a new Japanese era with wrong start date which is before actual eras (nengos). The check is outdated (pointing to Heisei) and needs to be generalized for any state of nengo list.