Parse Japanese Calendar
Logic name
Parse Japanese Calendar (Document Mapper/Variable Mapper/Merge Mapper)
Function
This logic parses the Japanese calendar and outputs the date/time.
Data types
|
Location |
Type |
|---|---|
|
First input handler |
String |
|
Logic output |
Date |
Refer to the following for details:
-
Logic specifications (Document Mapper/Variable Mapper)
-
Logic specifications (Merge Mapper)
Properties
|
Category |
Property |
Description |
|---|---|---|
|
Required settings |
Era name |
Select the format of the era. |
|
Required settings |
Years |
Select the format of the number of years. |
|
Required settings |
Year |
Select the format of the year. |
|
Required settings |
Months |
Set the format of the number of months. |
|
Required settings |
Month |
Set the format of the month. |
|
Required settings |
Days |
Set the format of the number of days. |
|
Required settings |
Day |
Set the format of the day. |
|
Comment |
Comment |
You can write a description of the logic. It doesn't affect the conversion process. |
Logic sample
Mapping definition
Logic settings and processing result
This logic converts input data to the date/time format.
Property settings
|
Property |
Setting |
|---|---|
|
Era name |
昭和 |
|
Years |
五十五 |
|
Year |
年 |
|
Months |
十二 |
|
Month |
月 |
|
Days |
五 |
|
Day |
日 |
Input data
|
大正十五年五月十一日 |
|
平成元年九月一日 |
|
平成二十二年十月十七日 |
Output data
|
1926-05-11T00:00:00.000+0900 |
|
1989-09-01T00:00:00.000+0900 |
|
2010-10-17T00:00:00.000+0900 |
For a list of logics, refer to Mapper Logic Guide.