The impact range relating to the Japanese era name in intra-mart Web Platform is as follows.
(1) There is a function that uses the Japanese era name in the seal impression function in the standard status of IM-Workflow.
(IM-Workflow is a function provided only in intra-mart Web Platform 7.2.)
(2) The Japanese era name is used when you use “GGGG” or “G” in a pattern character string which represents years as data format.
(3) The Japanese era name is used when you use Module.calendar API.
The information relating to the Japanese era name which is set in Java is used in (1) and (2).
There are either two ways as follows to handle the added Japanese era name.
Update Java which will be released after a new era name is announced.
1. The new Japanese era name (Reiwa) was announced on April 1, 2019.
Because of that, the updated edition for the new Japanese era name (Reiwa) was released from Oracle Corporation on April 16, 2019.
We recommend you to update JDK.
For Java 7
Update JDK to JDK 7u221 after signing a support agreement with Oracle Corporation.
Please try the way 2. below if you cannot update to JDK 7u221.
For Java 6 or earlier
Please try the way 2. below
2. Change Java settings.
Change %JAVA_HOME/jre/lib/calendars.properties if you change the settings of Java.
Please change the value of calendar.japanese.eras as follows.
calendar.japanese.eras: \
name=Meiji,abbr=M,since=-3218832000000; \
name=Taisho,abbr=T,since=-1812153600000; \
name=Showa,abbr=S,since=-1357603200000; \
name=Heisei,abbr=H,since=600220800000; \
name=NewEras,abbr=N,since=1546300800000
Please specify a year name for name. Please specify escaped strings using native2ascii and so on if full-width characters input is required.
Please specify abbreviations for addr.
Please specify a start time of usage of a target Japanese era name in epoch milliseconds in since.
To deal with the new Japanese era name (Reiwa)
Change name=NewEras,abbr=N,since=1546300800000 as follows.
name=\u4ee4\u548c,abbr=R,since=1556668800000
Please refer to the following for Japanese calendar in Java.
https://docs.oracle.com/javase/8/docs/technotes/guides/intl/calendar.doc.html
The new Japanese era name can be added
by calling Module.calendar.set(String name, String key, Number year, Number month, Number day) when start Module.calendar API for (3).
Please refer to the following document for the details.
https://www.intra-mart.jp/apidoc/iap/apilist-ssjs/doc/platform/Module.calendar/index.html#method-set_3
-- Target ------------------------------------------------------------------------
iWP/Web System Construction Platform/WebPlatform/AppFramework
--------------------------------------------------------------------------------
FAQID:666