JP2000148722A - Date switching method - Google Patents

Date switching method

Info

Publication number
JP2000148722A
JP2000148722A JP10318702A JP31870298A JP2000148722A JP 2000148722 A JP2000148722 A JP 2000148722A JP 10318702 A JP10318702 A JP 10318702A JP 31870298 A JP31870298 A JP 31870298A JP 2000148722 A JP2000148722 A JP 2000148722A
Authority
JP
Japan
Prior art keywords
date
year
input
jis
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10318702A
Other languages
Japanese (ja)
Inventor
Shigeru Ohara
茂 大原
Hikozo Komuro
彦三 小室
Junichi Hoshi
順一 星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10318702A priority Critical patent/JP2000148722A/en
Publication of JP2000148722A publication Critical patent/JP2000148722A/en
Pending legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

PROBLEM TO BE SOLVED: To save the trouble for correction by setting a check standard for the data input by dating methods in JIS and the Family Registration Act, an editing standard for date storage, an editing standard for date display, and an editing standard for date reinput and then carrying out checking and editing according to these standards. SOLUTION: After an input date in a Japanese calendar is obtained, an input check setting 116 is acquired and when the input check setting 116 is so set that dating methods in JIS and the Family Registration Act are valid, it is checked on the basis of an era name division date table whether or not the input date is within the range of the dating methods in JIS and the Family Registration Act division. If any unusuality is found, an error processing is performed and this process is stopped. Thus, the date editing at the time of date storage, date display, and date reinput is performed on the basis of either the dating method of JIS or the Family Registration Act according to the setting of a storage, editing, and setting area 115.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理システム
におけるデータ入力に関するものであり、特に和暦日付
処理を含む日付入力に関する。
The present invention relates to data input in an information processing system, and more particularly to date input including Japanese calendar date processing.

【0002】[0002]

【従来の技術】和暦年号の区切日付にはJIS規定によ
るものと、戸籍六法によるものの2種類が存在する。具
体的には、西暦1912年7月30日は、JIS規格では明治4
5年7月30日となり、戸籍六法では大正1年7月30日とな
る。西暦1926年12月25日は、JIS規格では大正15年12
月25日となり、戸籍六法では昭和1年12月25日となる。
2. Description of the Related Art There are two types of delimited dates in the Japanese calendar era, one according to JIS regulations and one according to the Six Family Register Law. Specifically, July 30, 1912 in the Christian era, Meiji 4
It will be July 30, 1980, and it will be July 30, 1969 under the Family Register Six Law. December 25, 1926 in the Christian era
It will be December 25, and it will be December 25, Showa 1 under the Family Register Six Law.

【0003】従来技術では、和暦と西暦など異なる日付
形態の処理方法として、入力された日付入力形式に基づ
いて入力日付を西暦年表示による中間日付に変換し、日
付出力形式に基づいて中間日付の加工を行う方法があっ
た(平3−233714号公報)。
In the prior art, as a processing method for different date forms such as the Japanese calendar and the Christian era, the input date is converted into an intermediate date in the year based on the input date input format, and the intermediate date is displayed based on the date output format. (Japanese Unexamined Patent Publication No. 3-233714).

【0004】ところが、上記方法では、JIS規格の年
号区切日付と戸籍六法の年号区切日付の、どちらの日付
を有効範囲としてチェックするか、また、どちら形式で
編集するかなどの指定ができなかった。
However, in the above-mentioned method, it is possible to specify which date of the JIS standard year separation date or the year of the Family Register Six Law separation date should be checked as an effective range, and which format should be edited. Did not.

【0005】[0005]

【発明が解決しようとする課題】従来方法では、開発し
たシステムを他の顧客に適用する際、JIS規定和暦年
号区切日付でチェックを行っていた処理を戸籍六法和暦
年号区切日付に変更するなどの修正が必要になる場合が
あった。
According to the conventional method, when the developed system is applied to another customer, the processing which has been checked by the JIS-specified Japanese calendar year division date is changed to the family register six-law Japanese calendar year division date. There were cases where such modifications were necessary.

【0006】本発明の目的は、このような問題に鑑みて
なされたもので、上記のような修正の手間を削減する日
付切替え方法を提供することにある。
[0006] An object of the present invention has been made in view of such a problem, and an object of the present invention is to provide a date switching method which reduces the time and effort for correction as described above.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明は以下の手段を用いる。
To solve the above problems, the present invention uses the following means.

【0008】オペレーティングシステムやアプリケーシ
ョンに対して、JIS年号区切日付・戸籍六法年号区切
日付の日付入力時のチェック基準、日付格納時の編集基
準、日付表示時の編集基準、日付再入力時の編集基準を
設定し、アプリケーション実行時に、その基準に従い、
チェック・編集を行う。
For the operating system and the application, a check standard for inputting the date of the JIS year separation date / family family name year separation date, an editing standard for storing the date, an editing standard for displaying the date, and an editing standard for re-entering the date. Set the editing criteria, and when the application runs, follow the criteria,
Check and edit.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態を例を
用いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail using examples.

【0010】図1は、請求項1、請求項2の方法を利用
してアプリケーション上で使用した場合のシステム構成
図である。入力装置(102)より、日付データを入力
すると、アプリケーション(103)の入力インタフェ
ース(105)で日付データを受け取り、その日付デー
タが日付チェック・編集装置(106)に渡される。こ
こでアプリケーション(103)は、例えば文書編集ソ
フトウェアや表計算ソフトウェアなど、日付データを扱
うソフトウェアやシステムである日付チェック・編集装
置(106)は、その日付データを設定保持領域(11
2)の入力チェック設定(116)と格納編集設定(1
15)に従い、入力チェック(108)を行い、格納編
集処理(111)を行い、格納日付保持領域(107)
に格納する。次に、表示編集設定(113)、入力編集
設定(114)に従い、表示編集処理(109)、入力
編集処理(110)を行い、出力インタフェース(10
4)に変換した日付データを渡し、出力装置(101)
により日付データを出力する。
FIG. 1 is a system configuration diagram in the case where the method is used on an application by using the methods of the first and second aspects. When date data is input from the input device (102), the date data is received by the input interface (105) of the application (103), and the date data is passed to the date checking / editing device (106). Here, the application (103) is a software or system that handles date data, such as document editing software or spreadsheet software. The date checking / editing device (106) stores the date data in the setting holding area (11).
2) Input check setting (116) and storage edit setting (1)
According to 15), input check (108) is performed, storage editing processing (111) is performed, and storage date holding area (107)
To be stored. Next, according to the display edit setting (113) and the input edit setting (114), the display edit processing (109) and the input edit processing (110) are performed, and the output interface (10) is executed.
The converted date data is passed to 4), and output device (101)
To output date data.

【0011】図2は設定保持領域(112)に格納する
パラメータの内容である。入力チェックの設定(20
1)は、「JIS範囲を有効」、「戸籍六法範囲を有
効」、「JIS、戸籍六法の両方有効」の3種類からユ
ーザが選択する。格納編集の設定(202)は、「JI
S変換」、「戸籍六法変換」、「和暦の場合無変換、西
暦の場合JISに変換」、「和暦の場合無変換、西暦の
場合戸籍六法に変換」の4種類からユーザが選択する。
表示編集の設定(203)は、「JIS変換」、「戸籍
六法変換」、「和暦の場合無変換、西暦の場合JISに
変換」、「和暦の場合無変換、西暦の場合戸籍六法に変
換」の4種類からユーザが選択する。入力編集の設定
(204)は、「JIS変換」、「戸籍六法変換」、
「和暦の場合無変換、西暦の場合JISに変換」、「和
暦の場合無変換、西暦の場合戸籍六法に変換」の4種類
からユーザが選択する。
FIG. 2 shows the contents of the parameters stored in the setting holding area (112). Setting of input check (20
1) is selected by the user from three types of "validity of JIS range", "validity of six family register family law", and "validity of both JIS and six family register family law". The storage edit setting (202) is described in “JI
The user selects one of four types: S conversion, six-family conversion of family register, no conversion for Japanese calendar, conversion to JIS for Western calendar, and no conversion for Japanese calendar, six-family conversion for Christian calendar. .
The display edit settings (203) are set to "JIS conversion", "family register 6 law conversion", "Japanese calendar no conversion, Christian calendar conversion to JIS", "Japanese calendar no conversion, Christian calendar 6 family register" The user selects from four types of “conversion”. Input editing settings (204) include "JIS conversion", "family register six-law conversion",
The user selects one of the following four types: "no conversion for Japanese calendar, conversion to JIS for the Christian calendar", "no conversion for Japanese calendar, conversion to the six-family registration for the Christian calendar".

【0012】図3は、年号区切テーブル(301)であ
る。この年号区切日付テーブル(301)に従い、年号
区切日付の範囲をチェックしたり、日付の編集時に、年
号区切日付テーブル(301)から該当する日付を検索
し、設定保持領域(112)に設定された内容に従い、
対応する西暦日付やJIS年号区切日付や戸籍六法年号
区切日付に編集する。表の通り、明治と大正(30
2)、大正と昭和(303)の年号区切日付がJIS和
暦年号区切日付と戸籍六法年号区切日付では異なってい
る。
FIG. 3 shows an era division table (301). In accordance with the year / year separation date table (301), the range of the year / year separation date is checked, and when editing the date, a corresponding date is searched from the year / year separation date table (301) and stored in the setting holding area (112). According to the set contents,
Edit the date to the corresponding Christian era date, JIS date separation date, or family register 6th law date separation date. As shown in the table, Meiji and Taisho (30
2) The Taisho and Showa (303) year separation dates are different between the JIS Japanese calendar year separation date and the Family Registration Sixth Law year separation date.

【0013】図4は請求項1を使用した例である。入力
日付を設定された条件に従い、和暦日付の範囲のチェッ
クを行う処理説明である。入力和暦日付を取得(40
2)後、入力チェック設定(116)を取得(402)
し、設定に従いチェックする。
FIG. 4 shows an example in which claim 1 is used. This is an explanation of a process for checking the range of the Japanese calendar date according to the condition set for the input date. Get input Japanese calendar date (40
2) After that, the input check setting (116) is obtained (402).
Check according to the settings.

【0014】入力チェック設定(116)にJIS年号
区切日付を正常とする設定がなされていた場合(40
3)、年号区切日付テーブル(301)を元に、入力日
付がJIS年号区切日付の範囲内かどうかチェックし
(406)、正常である場合、チェック処理を終了す
る。異常である場合はエラー処理(409)を行い処理
を終了する。例えば、入力日付が「T1/7/31」の場合、
JIS年号区切日付の範囲内であるため正常とし、入力
日付が「T1/7/30」の場合、JIS年号区切日付の範囲
外であるためエラーとなる。
If the input check setting (116) is set to normalize the JIS year / year division date (40)
3) Based on the year / break date table (301), it is checked whether the input date is within the range of the JIS year / break date (406), and if it is normal, the check processing is ended. If abnormal, an error process (409) is performed and the process ends. For example, if the input date is "T1 / 7/31",
It is normal because it is within the range of the JIS year separation date. If the input date is "T1 / 7/30", an error occurs because it is outside the range of the JIS year separation date.

【0015】入力チェック設定(116)に戸籍六法年
号区切日付を正常とする設定がなされていた場合(40
4)、年号区切日付テーブル(301)を元に、入力日
付が戸籍六法年号区切日付の範囲内かどうかチェックし
(407)、正常である場合、チェック処理を終了す
る。異常である場合はエラー処理(409)を行い処理
を終了する。
If the input check setting (116) is set so that the date of the family register's 6th legal year break is normal (40)
4) Based on the year division date table (301), it is checked whether or not the input date is within the range of the family register sixth legal year division date (407), and if it is normal, the check processing is ended. If abnormal, an error process (409) is performed and the process ends.

【0016】入力チェック設定(116)にJIS年号
区切日付も戸籍六法年号区切日付も正常とする設定がな
されていた場合(405)、年号区切日付テーブル(3
01)を元に、JIS年号区切日付範囲内か、または、
戸籍六法年号区切日付範囲内かをチェックし(40
8)、正常である場合、チェック処理を終了する。異常
である場合はエラー処理(409)を行い処理を終了す
る。入力チェック設定(116)に該当するものがない
場合、エラー処理(409)を実行し終了する。
If the input check setting (116) is set so that both the JIS year separation date and the family register 6 law year separation date are normal (405), the year name separation date table (3)
01), within the JIS year separation date range, or
Check if the family register is within the 6th legal year separation date range (40
8) If it is normal, the check processing ends. If abnormal, an error process (409) is performed and the process ends. If there is no input check setting (116), an error process (409) is executed and the processing ends.

【0017】以上説明したように、この発明を適用する
と、JIS年号区切日付で日付をチェックするか、戸籍
六法年号区切日付で日付をチェックするかを、入力チェ
ック設定領域(116)に設定しておくだけで、どちら
の規定を採用するのかを切り替えることができる。
As described above, when the present invention is applied, it is set in the input check setting area (116) whether to check the date with the JIS year separation date or the date with the family register sixth law year separation date. By simply doing so, it is possible to switch which rule is adopted.

【0018】図5は請求項2を格納編集に使用した例で
ある。入力日付を設定された条件に従い、格納データに
変換する処理説明である。入力日付を取得(501)
後、格納編集設定(115)を取得(502)し、設定
に従いチェックする。
FIG. 5 shows an example in which claim 2 is used for storage and editing. It is a description of processing for converting an input date into stored data according to a set condition. Get input date (501)
Thereafter, the storage / edit setting (115) is obtained (502), and a check is made according to the setting.

【0019】格納編集設定(115)にJIS年号区切
日付に変換すると設定されていた場合(503)、入力
日付がJIS年号区切日付範囲外であると(506)、
年号区切日付テーブル(301)を元に、入力日付をJ
IS年号区切日付に変換(508)し、処理を終了す
る。格納編集設定(115)に戸籍六法年号区切日付に
変換すると設定されていた場合(504)、入力日付が
戸籍六法区切日付範囲外であると(507)、年号区切
日付テーブル(301)を元に、入力日付を戸籍六法年
号区切日付に変換(509)し、処理を終了する。
If it is set in the storage edit setting (115) to convert to the JIS year break date (503), and if the input date is outside the JIS year break date range (506),
Enter the input date as J based on the year separation date table (301).
The date is converted to the IS year division date (508), and the process is terminated. If it is set in the storage edit setting (115) to convert to the family register six legal year division date (504), and if the input date is outside the family register six legal year division date range (507), the year name division date table (301) is changed. Originally, the input date is converted to the family register 6th legal year break date (509), and the process is terminated.

【0020】格納編集設定(115)に西暦に変換する
と設定されていた場合(505)、年号区切日付テーブ
ル(301)を元に、入力日付を西暦日付に変換(51
0)し、処理を終了する。格納編集設定(115)に入
力データをそのまま格納すると設定されていた場合また
は、何も設定されていなかった場合、処理を終了する。
If it is set in the storage editing setting (115) to convert to the Christian era (505), the input date is converted to the Christian era (51) based on the year-separated date table (301).
0), and the process ends. If it is set in the storage edit setting (115) to store the input data as it is, or if nothing is set, the processing is ended.

【0021】以上説明したように、この発明を適用する
と、日付データ格納時の日付編集をJIS年号区切日付
に編集するか、戸籍六法年号区切日付に編集するか、西
暦に編集するかを、格納編集設定領域(115)に設定
しておくだけで、どちらの規定を採用するのかを切り替
えることができる。
As described above, when the present invention is applied, the date editing when storing date data is to be edited to the JIS date separation date, to the family register 6th law date separation date, or to the year editing. By simply setting in the storage / edit setting area (115), it is possible to switch which rule is adopted.

【0022】図6は請求項2を表示編集に使用した例で
ある。格納日付を設定された条件に従い、表示データに
変換する処理説明である。格納日付を取得(601)
後、表示編集設定(113)を取得(602)し、設定
に従いチェックする。
FIG. 6 shows an example in which claim 2 is used for display editing. It is an explanation of processing for converting a storage date into display data according to a set condition. Get storage date (601)
Thereafter, the display / edit setting (113) is acquired (602), and a check is made according to the setting.

【0023】表示編集設定(113)にJIS年号区切
日付に変換すると設定されていた場合(603)、格納
日付がJIS年号区切日付範囲外であると(606)、
年号区切日付テーブル(301)を元に、格納日付をJ
IS年号区切日付に変換(608)し、処理を終了す
る。表示編集設定(113)に戸籍六法年号区切日付に
変換すると設定されていた場合(604)、格納日付が
戸籍六法区切日付範囲外であると(607)、年号区切
日付テーブル(301)を元に、格納日付を戸籍六法年
号区切日付に変換(609)し、処理を終了する。
If it is set in the display edit setting (113) to convert to the JIS year-separation date (603), and if the storage date is out of the JIS year-separation date range (606),
The storage date is set to J based on the year separation date table (301).
The date is converted to the IS year division date (608), and the process is terminated. If it is set in the display edit setting (113) to convert to the family register six legal year division date (604), and if the storage date is out of the family register six legal year division date range (607), the year name division date table (301) is changed. The stored date is converted to the family register 6th legal year break date (609), and the process is terminated.

【0024】表示編集設定(113)に西暦に変換する
と設定されていた場合(605)、年号区切日付テーブ
ル(301)を元に、格納日付を西暦日付に変換(61
0)し、処理を終了する。表示編集設定(113)に格
納データをそのまま表示すると設定されていた場合また
は、何も設定されていなかった場合、処理を終了する。
If the display / edit setting (113) is set to convert to the Christian era (605), the storage date is converted to the Christian era (61) based on the year-separated date table (301).
0), and the process ends. If it is set in the display / edit setting (113) to display the stored data as it is, or if nothing is set, the process ends.

【0025】以上説明したように、この発明を適用する
と、日付データ表示時の日付編集をJIS年号区切日付
に編集するか、戸籍六法年号区切日付に編集するか、西
暦に編集するかを、表示編集設定領域(113)に設定
しておくだけで、どちらの規定を採用するのかを切り替
えることができる。
As described above, when the present invention is applied, the date editing at the time of displaying the date data can be edited to the JIS date separating date, the family register 6th legal year separating date, or to the Christian era. By simply setting in the display / edit setting area (113), it is possible to switch which rule is adopted.

【0026】図7は請求項2を入力編集に使用した例で
ある。格納日付を設定された条件に従い、入力データに
変換する処理説明である。格納日付を取得(701)
後、入力編集設定(114)を取得(702)し、設定
に従いチェックする。
FIG. 7 shows an example in which claim 2 is used for input editing. It is a description of processing for converting a storage date into input data according to a set condition. Get storage date (701)
Thereafter, the input / edit setting (114) is obtained (702), and a check is made according to the setting.

【0027】入力編集設定(114)にJIS年号区切
日付に変換すると設定されていた場合(703)、格納
日付がJIS年号区切日付範囲外であると(706)、
年号区切日付テーブル(301)を元に、格納日付をJ
IS年号区切日付に変換(708)し、処理を終了す
る。入力編集設定(114)に戸籍六法年号区切日付に
変換すると設定されていた場合(704)、格納日付が
戸籍六法区切日付範囲外であると(707)、年号区切
日付テーブル(301)を元に、格納日付を戸籍六法年
号区切日付に変換(709)し、処理を終了する。
If it is set in the input edit setting (114) to convert to the JIS year-break delimitation date (703), and if the storage date is outside the JIS year-break delimitation date range (706),
The storage date is set to J based on the year separation date table (301).
The date is converted to the IS year division date (708), and the process is terminated. If it is set in the input edit setting (114) to convert to the family register six legal year break date (704), and if the storage date is out of the family register six legal year break date range (707), the year name partition date table (301) is changed. The stored date is converted to the family register 6th legal year break date (709), and the process ends.

【0028】入力編集設定(114)に西暦に変換する
と設定されていた場合(705)、年号区切日付テーブ
ル(301)を元に、格納日付を西暦日付に変換(71
0)し、処理を終了する。入力編集設定(114)に格
納データをそのまま入力データにすると設定されていた
場合または、何も設定されていなかった場合、処理を終
了する。
If it is set in the input edit setting (114) to convert to the year (705), the storage date is converted to the year (71) based on the year-separated date table (301).
0), and the process ends. If it is set in the input edit setting (114) to use the stored data as it is, or if nothing is set, the processing is terminated.

【0029】以上説明したように、この発明を適用する
と、日付データ再入力時の日付編集をJIS年号区切日
付に編集するか、戸籍六法年号区切日付に編集するか、
西暦に編集するかを、入力編集設定領域(114)に設
定しておくだけで、どちらの規定を採用するのかを切り
替えることができる。
As described above, when the present invention is applied, the date editing at the time of re-input of date data can be edited to the JIS date separation date or the family register 6th law date separation date.
By simply setting in the input edit setting area (114) whether to edit in the Christian era, it is possible to switch which rule is adopted.

【0030】[0030]

【発明の効果】和暦年号のJISや戸籍六法に基づく年
号区切日付のチェック・編集を設定し、年号区切日付の
修正ができ、他のシステムへの移行作業などが容易にな
る。
According to the present invention, it is possible to set check / edit of the year-division break date based on JIS of the Japanese calendar year and the Family Register Six Law, and to correct the year-division break date, thereby facilitating the transfer work to another system.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の日付切替えシステム構成図。FIG. 1 is a configuration diagram of a date switching system according to the present invention.

【図2】図1の設定保持領域を示す図。FIG. 2 is a view showing a setting holding area in FIG. 1;

【図3】図1の日付年号区切テーブルを示す図。FIG. 3 is a view showing a date and year separation table of FIG. 1;

【図4】入力日付チェック処理の流れを示すフローチャ
ート。
FIG. 4 is a flowchart showing the flow of an input date check process.

【図5】格納編集処理の流れを示すフローチャート。FIG. 5 is a flowchart showing the flow of a storage editing process.

【図6】表示編集処理の流れを示すフローチャート。FIG. 6 is a flowchart showing the flow of a display editing process.

【図7】入力編集処理の流れを示すフローチャート。FIG. 7 is a flowchart showing the flow of an input editing process.

【符号の説明】[Explanation of symbols]

101…出力装置、102…入力装置、103…アプリ
ケーションプログラム、104…出力インタフェース、
105…入力インタフェース、106…日付チェック・
編集プログラム、107…格納日付保持領域、108…
入力チェック処理、109…表示編集処理、110…入
力編集処理、111…格納編集処理、112…設定領域
保持領域、113…表示編集設定保持領域、114…入
力編集設定保持領域、115…格納編集設定保持領域、
116…入力チェック設定保持領域、201…日付範囲
チェックの設定、202…格納編集の設定、203…表
示編集の設定、204…入力編集の設定、301…年号
区切日付テーブル、302…明治と大正の年号区切日
付、303…大正と昭和の年号区切日付、401…入力
日付の取得、402…入力チェック設定の取得、403
…JIS年号区切日付チェック判定、404…戸籍六法
年号区切日付チェック判定、405…JISおよび戸籍
六法年号区切日付チェック判定、406…JIS年号区
切日付範囲判定、407…戸籍六法年号区切日付範囲判
定、408…JISまたは戸籍六法年号区切日付範囲判
定、409…設定された年号区切日付範囲外の場合のエ
ラー処理、501…入力日付の取得、502…格納編集
設定の取得、503…JIS年号区切日付編集判定、5
04…戸籍六法年号区切日付編集判定、505…西暦編
集判定、506…JIS年号区切日付範囲判定、507
…戸籍六法年号区切日付範囲判定、508…JIS年号
区切日付変換、509…戸籍六法年号区切日付変換、5
10…西暦日付変換、601…格納日付の取得、602
…表示編集設定の取得、603…JIS年号区切日付編
集判定、604…戸籍六法年号区切日付編集判定、60
5…西暦編集判定、606…JIS年号区切日付範囲判
定、607…戸籍六法年号区切日付範囲判定、608…
JIS年号区切日付変換、609…戸籍六法年号区切日
付変換、610…西暦日付変換、701…格納日付の取
得、702…入力編集設定の取得、703…JIS年号
区切日付編集判定、704…戸籍六法年号区切日付編集
判定、705…西暦編集判定、706…JIS年号区切
日付範囲判定、707…戸籍六法年号区切日付範囲判
定、708…JIS年号区切日付変換、709…戸籍六
法年号区切日付変換、710…西暦日付変換。
101 output device, 102 input device, 103 application program, 104 output interface,
105: input interface, 106: date check
Editing program, 107: storage date holding area, 108:
Input check processing, 109: display / edit processing, 110: input / edit processing, 111: storage / edit processing, 112: setting area holding area, 113: display / edit setting holding area, 114: input / edit setting holding area, 115: storage / edit setting Holding area,
116: input check setting holding area, 201: date range check setting, 202: storage / edit setting, 203: display / edit setting, 204: input / edit setting, 301: year / year division date table, 302: Meiji and Taisho , Date of year separation of 303, Taisho and Showa, 401: acquisition of input date, 402: acquisition of input check setting, 403
… Judgment of JIS year-break date check, 404: Judgment date of family register 6th legal year break date check, 405… Judgment check check of JIS and 6-year family register year date, 406… Judgment of JIS year-division date range, 407… Judgment of date range, 408: Judgment of JIS or Family Registered 6-year date separation date range, 409: Error processing when the date is out of the set date range, 501: Acquisition of input date, 502: Acquisition of storage / edit setting, 503 … Editing date of JIS year separation date, 5
04: Judgment of editing date of family register, 6th legal year, 505: Judgment of editing of Christian era, 506: Judgment of date range of JIS year, 507
… Judgment date range determination for family register 6 law year, 508… conversion of JIS year code division date, 509… conversion of family register 6 law year division date, 5
10: conversion of the Christian calendar date, 601: acquisition of the storage date, 602
... Acquisition of display edit settings, 603: Judgment of editing of JIS year-break date, 604 ... Judgment of editing of date of family register, 6th legal year, 60
5: Judgment of the editing of the Christian era, 606: Judgment of the JIS date separation date range, 607: Judgment of the date range of the family register, 6th law, 608 ...
JIS year-division date conversion, 609: Family register 6-law year date separation, 610: Year date conversion, 701: Acquisition of storage date, 702: Acquisition of input / edit setting, 703: JIS year-division date edit judgment, 704 ... Judgment date edit date of family register, 6th year, 705: Judgment of editing the year, 706: Judgment date range, 707: Judgment date range, 6th year, 708: Conversion of JIS date, 709: 6th year of family register Number break date conversion, 710 ... year date conversion.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 星 順一 東京都江東区新砂一丁目6番27号 株式会 社日立製作所公共情報事業部内 Fターム(参考) 5B056 BB77 HH00  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Junichi Hoshi 1-6-27 Shinsuna, Koto-ku, Tokyo F-term in the Public Information Division, Hitachi, Ltd. 5B056 BB77 HH00

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】コンピュータ上で和暦日付を扱うシステム
において、JIS規定による和暦年号区切日付と戸籍六
法による和暦年号区切日付をテーブルに格納しておき、
入力された和暦日付について、JIS規定を採用する
か、戸籍六法規定を採用するかを、ユーザが指定した設
定に従い判断し、判断結果にもとづいて前記テーブルを
参照して、入力された和暦日付が各規定の有効範囲内か
どうかを判断することを特徴とする日付切替え方法。
In a system for handling Japanese calendar dates on a computer, a Japanese calendar year separation date according to JIS regulations and a Japanese calendar year separation date according to the Family Register Six Laws are stored in a table.
For the input Japanese calendar date, it is determined according to the setting specified by the user whether to adopt the JIS rules or the six family register rules, and based on the determination result, referring to the table, the input Japanese calendar is used. A date switching method comprising determining whether a date falls within a prescribed effective range.
【請求項2】コンピュータ上で和暦日付を扱うシステム
において、JIS規定による和暦年号区切日付と戸籍六
法による和暦年号区切日付をテーブルに格納しておき、
入力された日付データを、JIS規定により編集する
か、戸籍六法規定により編集するか、または西暦に編集
するかを、ユーザが指定した設定に従い判断し、判断結
果にもとづいて前記テーブルを参照して、日付データを
編集する日付編集方式であることを特徴とする日付切替
え方法。
2. A system for handling Japanese calendar dates on a computer, wherein a Japanese calendar year separation date according to JIS rules and a Japanese calendar year separation date according to the Six Family Register Law are stored in a table.
Whether the input date data is edited according to JIS rules, edited according to the six family register rules, or edited to the Christian era is determined according to the setting specified by the user, and by referring to the table based on the determination result, A date editing method for editing date data.
JP10318702A 1998-11-10 1998-11-10 Date switching method Pending JP2000148722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10318702A JP2000148722A (en) 1998-11-10 1998-11-10 Date switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10318702A JP2000148722A (en) 1998-11-10 1998-11-10 Date switching method

Publications (1)

Publication Number Publication Date
JP2000148722A true JP2000148722A (en) 2000-05-30

Family

ID=18102055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10318702A Pending JP2000148722A (en) 1998-11-10 1998-11-10 Date switching method

Country Status (1)

Country Link
JP (1) JP2000148722A (en)

Similar Documents

Publication Publication Date Title
JP2002099561A (en) Method and system for data conversion, and storage medium
JPH09244980A (en) Communication data output device
JP3034465B2 (en) Character input method using numeric keys
JP2000148722A (en) Date switching method
JPH086925A (en) Date conversion system corresponding to 2000 a.d.
JPH08278978A (en) Bond information retrieving methdo and bond information terminal device
JPS62284460A (en) Document formation supporting device
JP2002150207A (en) Automatic input system
JP3083424B2 (en) External character management system
JP2833612B2 (en) Service primitive generation system
JPH0378872A (en) Document field estimating system
JPH0561745A (en) Transforming device for format
JP2842611B2 (en) Natural sentence semantic analysis processor by candidate sentence generation
JPH06149894A (en) Schema definition information generating method
CN118520846A (en) Method, device and storage medium for converting XSD into JSON SCHEMA
JPH07129446A (en) Data base access method
JP3305343B2 (en) Dictionary editing device
JP3603340B2 (en) Document creation device
JPH04330565A (en) Natural language processing system using universal file
JP2922536B2 (en) Logic circuit diagram processing apparatus and logic circuit diagram display method
JP2001273178A (en) Method and system for controlling database
JPH01224863A (en) Dictionary registering method
JPH0721204A (en) System for registering keyword of data base information
JPH02164568A (en) Japanese document printing system
JP2001125768A (en) Method for converting data form between different programming languages