I don’t see anything wrong with this. This is actually a fun challenge.
I encourage everyone to learn how to parse the japanese calendar format.
The more people know the better!