I am formatting a date of the interval [31.12.1871|02.12.2008,] with a Japanese Calendar. In this case 02.12.1845.
The result of the format is correct. The emperor is Koka.
Parsing this date results in the incorrect date 02.12.1945. The emperor is Showa.
Here the source i tested with:
This seems to have something to do with the japanese Symbols for the emperors, which are mixed up internally.
Doing the same with German Locale leads to the correct result: format.equals(formatAfterParse).
It also works for dates outside the mentioned interval.