AY, 1).build().getTime())
> $3 ==> "元号元年"
>
> 2. For java.time API, use
> DateTimeFormatterBuilder.appendText(TemporalField, Map) to
> map the 1 to "元". Following issue demonstrates how to do it:
>
> https://bugs.openjdk.java.net/browse/JDK-8042131
>
>
As you know, Japanese government have a plan to change the era on May.
It will be the first year of the new era.
In practice, we describe the first year as "元年" not as "1年"
Now DateTimeFormatter with `G` output the era.
`DateTimeFormatter.ofPattern("Gy年").format(JapaneseDate.of(2019, 5, 2))`
outpu
I'm trying to use the Japanese new era supporting and have found that it
does not accept Heisei 32.
There are many document that include Heisei 32 or later at present. For
example, the expiration date of my driver license is Heisei 32 March.
JDK10 can accept Heisei 32.
I think the change of the beh