JPH07239840A - Calender display device - Google Patents

Calender display device

Info

Publication number
JPH07239840A
JPH07239840A JP6029370A JP2937094A JPH07239840A JP H07239840 A JPH07239840 A JP H07239840A JP 6029370 A JP6029370 A JP 6029370A JP 2937094 A JP2937094 A JP 2937094A JP H07239840 A JPH07239840 A JP H07239840A
Authority
JP
Japan
Prior art keywords
calendar
date
days
lunar
lunar calendar
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.)
Granted
Application number
JP6029370A
Other languages
Japanese (ja)
Other versions
JP3674957B2 (en
Inventor
Mitsuo Yoshida
光男 吉田
Muneyuki Ogawa
宗之 小川
Toshinao Kawahara
利尚 河原
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP02937094A priority Critical patent/JP3674957B2/en
Publication of JPH07239840A publication Critical patent/JPH07239840A/en
Application granted granted Critical
Publication of JP3674957B2 publication Critical patent/JP3674957B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To display the date of the lunar calendar corresponding to the date of the solar calendar (the Christian Era). CONSTITUTION:When a 'conversion' key 18 is operated after designating the date of the solar calendar to be displayed on a liquid crystal display part 13 corresponding to a cursor key 15, 'month/day' key 17 or date data to be managed by the present Christian Era dates, based on the minimum and maximum values of the number of all the days of the Christian Era stored in a ROM, a number X of all the days up to the designated date of the Christian Era is calculated according to a formula for calculating the number of all the designated days and based on table data showing this calculated number X of all the days up to the designated date of the Christian Era, the number of all the days corresponding to first and second lunar calendar reference dates to be managed by a register for the number of all the reference days of the lunar calendar based on the reference days of the Christian Era, and the number of days for each year and each month of the lunar calendar stored in a lunar calendar RAM, the designated date of the Christian Era is converted to the date of the lunar calendar and displayed on the liquid crystal display part 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、太陰暦のカレンダを表
示するカレンダ表示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a calendar display device for displaying a calendar of Lunar calendar.

【0002】[0002]

【従来の技術】従来、時計やコンピュータ等の電子機器
において、その表示画面にカレンダ表示を行なうものが
広く実用化されている。このようなカレンダ表示機能を
備えた電子機器では、一般に、カレンダは太陽暦(西
暦)に対応して表示されるので、1年が365日,各月
日数が31日と30日で2月のみ28日、そして、4年
周期で1年が366日,2月のみ29日と規定されてい
る。
2. Description of the Related Art Conventionally, in electronic devices such as watches and computers, those which display a calendar on their display screens have been widely put into practical use. In an electronic device equipped with such a calendar display function, the calendar is generally displayed in correspondence with the solar calendar (AD), so one year is 365 days, and the number of months is 31 and 30 days. It is stipulated that one day is 366 days in a 4-year cycle and 29 days in February only.

【0003】一方、地球上で実際に利用されている暦と
しては、例えばアラブ諸国において宗教上の暦として利
用される太陰暦(陰暦)が上げられる。この太陰暦は、
12ケ月を持って1年とし、月の運行によって月日数が
定められるもので、奇数月は30日,偶数月は29日に
して1年を354日、そして、30年周期で2,5,
7,10,13,16,18,21,24,26,29
年目にそれぞれ閏年を設けて1日追加し355日にする
という原則になっている。
On the other hand, as a calendar actually used on the earth, for example, there is a lunar calendar (a lunar calendar) used as a religious calendar in Arab countries. This lunar calendar is
Twelve months are regarded as one year, and the number of months is determined by the operation of the moon. The odd months are 30 days, the even months are 29 days, and one year is 354 days.
7,10,13,16,18,21,24,26,29
The principle is to set a leap year for each year and add one day for 355 days.

【0004】[0004]

【発明が解決しようとする課題】ここで、特にアラブ諸
国では、通常は西暦を用いた生活をしていても、宗教上
の儀式を行なう等のため、例えば西暦上の当日が陰暦上
の何年,何月,何日に該当するかを知る必要が生じる。
Here, especially in the Arab countries, even if they usually live in the Christian era, they perform religious ceremonies and so on. It becomes necessary to know the year, month, and day.

【0005】しかしながら、太陽暦のカレンダ表示を行
なう前記従来の電子機器では、太陽暦上の年月日を太陰
暦上の年月日に変換して表示することはできない。本発
明は前記課題に鑑みなされたもので、太陽暦(西暦)上
の年月日に対応して太陰暦(陰暦)上の年月日を表示す
ることが可能になるカレンダ表示装置を提供することを
目的とする。
However, in the conventional electronic device for displaying the calendar of the solar calendar, the date on the solar calendar cannot be converted and displayed on the date on the lunar calendar. The present invention has been made in view of the above problems, and provides a calendar display device capable of displaying a date on a lunar calendar (luenal calendar) corresponding to a date on a solar calendar (AD). To aim.

【0006】[0006]

【課題を解決するための手段】すなわち、本発明に係わ
る第1のカレンダ表示装置は、太陽暦の年月日を入力も
しくは選択する入力手段と、この入力手段により入力さ
れた太陽暦の年月日に対応する太陰暦の年月日を演算す
る演算手段と、この演算手段による演算結果を表示する
表示手段とを備えて構成したものである。
That is, the first calendar display device according to the present invention has an input means for inputting or selecting the date of the solar calendar, and the date of the solar calendar input by this input means. It comprises a calculation means for calculating the date of the corresponding lunar calendar and a display means for displaying the calculation result by this calculation means.

【0007】また、本発明に係わる第2のカレンダ表示
装置は、少なくとも1カ月の太陽暦の年月日を含んだ太
陽暦カレンダを表示する第1の表示手段と、前記太陽暦
カレンダの中に表示される任意の年月日の1つに対応す
る太陰暦の年月日が属する少なくとも1カ月の太陰暦の
年月日を含んだ太陰暦カレンダを表示する第2の表示手
段とを備えて構成したものである。
Further, a second calendar display device according to the present invention is displayed in the solar calendar including first display means for displaying a solar calendar including at least one month of the solar calendar. Second display means for displaying a lunar calendar containing the lunar calendar date of at least one month to which the lunar calendar date corresponding to one arbitrary date falls.

【0008】また、本発明に係わる第3のカレンダ表示
装置は、基準日と定めた太陽暦上の特定の年月日に対応
する日数データを記憶する西暦基準日記憶手段と、太陽
暦上の任意の年月日を指定する年月日指定手段と、前記
西暦基準日記憶手段に記憶された太陽暦上の特定の年月
日に対応する日数データに基づき、前記太陽暦上の基準
日から前記年月日指定手段により指定された太陽暦上の
任意の年月日までの日数データを算出する指定日日数演
算手段と、前記太陽暦上の基準日に対応する太陰暦上の
特定の年月日に対応する日数データを記憶する陰暦基準
日記憶手段と、太陰暦の年及びこの年における各月毎の
日付日数を記憶する太陰暦情報記憶手段と、前記指定日
日数演算手段により算出された太陽暦上の任意年月日ま
での日数データ及び前記陰暦基準日記憶手段により記憶
された陰暦上の特定年月日に対応する日数データ及び前
記太陰暦情報記憶手段に記憶された陰暦上の年及び各月
毎の日付日数に基づき、前記太陽暦上の任意の年月日を
対応する太陰暦の年月日に変換する西暦/陰暦変換手段
と、この西暦/陰暦変換手段により得られた太陰暦の年
月日を表示する陰暦表示手段とを備えて構成したもので
ある。
Further, the third calendar display device according to the present invention is a reference date storing means for storing the number of days corresponding to a specific date on the solar calendar defined as a reference date, and an optional calendar date on the solar calendar. Based on the date data specifying the date, and the number data corresponding to the specific date on the solar calendar stored in the reference date storage means, from the reference date on the solar calendar to the date. Designated number of days calculating means for calculating the number of days data up to an arbitrary date on the solar calendar designated by the designating means, and number of days data corresponding to a specific date on the lunar calendar corresponding to the reference date on the solar calendar Lunar calendar reference date storage means for storing the, lunar calendar year and lunar calendar information storage means for storing the number of days of each month in this year, up to the arbitrary date on the solar calendar calculated by the designated number of days calculation means And the number of days Based on the number of days data corresponding to a specific year and month date on the lunar calendar stored by the lunar calendar reference date storage means and the year and date of each month stored on the lunar calendar information storage means, the solar calendar It is configured by including a year / monthly calendar conversion means for converting an arbitrary year / month / day to a corresponding year / month / day of the lunar calendar and a yearly calendar display means for displaying the year / month / day of the lunar calendar obtained by the year / month / calendar conversion means. It is a thing.

【0009】また、本発明に係わる第4のカレンダ表示
装置は、前記第3のカレンダ表示装置にあって、その年
月日指定手段を、計時手段により得られる現在情報に基
づき太陽暦上の年月日を指定するものとして構成したも
のである。
A fourth calendar display device according to the present invention is the third calendar display device, wherein the date / month / day designating means is based on the current information obtained by the timekeeping means. It is configured to specify the day.

【0010】また、本発明に係わる第5のカレンダ表示
装置は、前記第3のカレンダ表示装置にあって、その年
月日指定手段を、キー入力手段により太陽暦上の年月日
を指定するものとして構成したものである。
A fifth calendar display device according to the present invention is the third calendar display device, wherein the date / month / day designating means is designated by a key input means. It is configured as.

【0011】また、本発明に係わる第6のカレンダ表示
装置は、前記第3又は第4又は第5何れかのカレンダ表
示装置にあって、その陰暦表示手段を、前記西暦/陰暦
変換手段により得られた太陰暦の年月日が属する月の太
陰暦カレンダを表示するものとして構成したものであ
る。
A sixth calendar display device according to the present invention is the calendar display device according to any one of the third, fourth and fifth calendars, wherein the lunar calendar display means is obtained by the western calendar / luenical calendar conversion means. It is configured to display the lunar calendar of the month to which the date of the lunar calendar belongs.

【0012】また、本発明に係わる第7のカレンダ表示
装置は、前記第3又は第4又は第5又は第6何れかのカ
レンダ表示装置にあって、その太陰暦情報記憶手段に記
憶された太陰暦の任意の年月に対応する日付日数を訂正
する陰暦月日数訂正手段をさらに備えて構成したもので
ある。
A seventh calendar display device according to the present invention is the calendar display device according to any one of the third, fourth, fifth, and sixth calendars, in which the lunar calendar information stored in the lunar calendar information storage means is stored. It is configured to further include lunar calendar month / day correction means for correcting the number of date / days corresponding to an arbitrary year / month.

【0013】また、本発明に係わる第8のカレンダ表示
装置は、前記第3又は第4又は第5又は第6又は第7何
れかのカレンダ表示装置にあって、その陰暦基準日記憶
手段に記憶される太陰暦上の特定の年月日に対応する日
数データを、前記太陰暦情報記憶手段に記憶される太陰
暦の複数の年の中で複数設定される特定年月日のそれぞ
れに対応して記憶されるものとして構成したものであ
る。
An eighth calendar display device according to the present invention is the calendar display device of any of the third, fourth, fifth, sixth or seventh, and is stored in the lunar calendar reference date storage means. The number-of-days data corresponding to a specific year / month / day in the lunar calendar is stored corresponding to each of the specific dates / times set in plural in the lunar calendar stored in the lunar calendar information storage means. It is configured as one.

【0014】また、本発明に係わる第9のカレンダ表示
装置は、前記第8のカレンダ表示装置にあって、前記陰
暦月日数訂正手段により太陰暦情報記憶手段に記憶され
た太陰暦の任意の年月に対応する日付日数が訂正された
際に、その訂正日数に応じて、前記陰暦基準日記憶手段
に記憶される太陰暦上の特定の年月日に対応する日数デ
ータを書換える陰暦基準日数書換え手段をさらに備えて
構成したものである。
Further, a ninth calendar display device according to the present invention is the eighth calendar display device, wherein the lunar calendar information storage means stores the arbitrary dates in the lunar calendar stored in the lunar calendar information storage means. When the corresponding number of days is corrected, the lunar calendar reference number rewriting means for rewriting the number of days data corresponding to a specific date on the lunar calendar stored in the lunar calendar reference day storage means according to the corrected number of days. It is further equipped.

【0015】[0015]

【作用】つまり、前記第1のカレンダ表示装置では、入
力手段により太陽暦の年月日が入力もしくは選択される
と、演算手段により前記太陽暦の年月日に対応する太陰
暦の年月日が演算され、この演算結果が表示手段に表示
されることになる。
That is, in the first calendar display device, when the date of the solar calendar is input or selected by the input means, the lunar calendar date corresponding to the solar calendar date is calculated by the calculating means. The calculation result is displayed on the display means.

【0016】また、前記第2のカレンダ表示装置では、
第1の表示手段には、少なくとも1カ月の太陽暦の年月
日を含んだ太陽暦カレンダが表示され、また、第2の表
示手段には、前記太陽暦カレンダの中に表示される任意
の年月日の1つに対応する太陰暦の年月日が属する、少
なくとも1カ月の太陰暦の年月日を含んだ太陰暦カレン
ダが表示されることになる。
In the second calendar display device,
The first display means displays a solar calendar including at least one month of the solar calendar, and the second display means displays an arbitrary date displayed in the solar calendar. A lunar calendar calendar including at least one month lunar calendar date to which the lunar calendar date corresponding to one of the above belongs is displayed.

【0017】また、前記第3のカレンダ表示装置では、
年月日指定手段により太陽暦上の任意の年月日が指定さ
れると、西暦基準日記憶手段に記憶された太陽暦上の特
定の基準年月日に対応する日数データに基づき、該指定
年月日までの日数データが指定日日数演算手段により算
出され、この算出された太陽暦上の指定年月日までの日
数データ及び陰暦基準日記憶手段に記憶された太陽暦上
の基準日に対応する陰暦上の特定年月日に対応する日数
データ及び太陰暦情報記憶手段に記憶された陰暦上の年
及び各月毎の日付日数に基づき、西暦/陰暦変換手段に
より前記太陽暦上の指定年月日が対応する太陰暦の年月
日に変換され、陰暦表示手段により表示されるので、日
数データの演算処理を中心として、太陽暦の指定年月日
が太陰暦の年月日に変換表示されることになる。
In the third calendar display device,
When an arbitrary date on the solar calendar is designated by the date designating means, the designated date is based on the number-of-day data corresponding to the specific reference date on the solar calendar stored in the reference date storing means. The number of days until the day is calculated by the specified number of days calculation means, and the calculated number of days until the specified date on the solar calendar and the lunar calendar corresponding to the reference date on the lunar calendar stored in the lunar calendar reference day storage means Based on the number of days data corresponding to the specific date and the year on the lunar calendar stored in the lunar calendar information storage means and the number of days per month, the specified date on the solar calendar corresponds to the year / month calendar conversion means. Since the date is converted to the lunar calendar date and displayed by the lunar calendar display means, the designated date of the solar calendar is converted and displayed on the lunar calendar date centering on the arithmetic processing of the number of days data.

【0018】また、前記第4のカレンダ表示装置では、
前記第3のカレンダ表示装置にあって、その年月日指定
手段により指定される太陽暦上の年月日は、計時手段に
より得られる現在情報に基づき指定されるので、太陽暦
上の当日年月日に対応する陰暦年月日が容易に変換表示
されることになる。
In the fourth calendar display device,
In the third calendar display device, the date on the solar calendar designated by the date / month / day designating means is designated based on the current information obtained by the timekeeping means. The lunar calendar date corresponding to is easily converted and displayed.

【0019】また、前記第5のカレンダ表示装置では、
前記第3のカレンダ表示装置にあって、その年月日指定
手段により指定される太陽暦上の年月日は、キー入力手
段により指定されるので、太陽暦上の現在,過去,未来
それぞれ所望の年月日に対応する陰暦年月日が容易に変
換表示されることになる。
In the fifth calendar display device,
In the third calendar display device, the date on the solar calendar designated by the date / month / day designating means is designated by the key input means, so that the present year, the past, and the future on the solar calendar are respectively desired years. The lunar calendar date corresponding to the date can be easily converted and displayed.

【0020】また、前記第6のカレンダ表示装置では、
前記第3又は第4又は第5何れかのカレンダ表示装置に
あって、その陰暦表示手段により表示される西暦/陰暦
変換手段により得られた太陰暦の年月日は、該陰暦年月
日が属する月の太陰暦カレンダとして表示されることに
なる。
In the sixth calendar display device,
In the calendar display device of any of the third, fourth or fifth, the lunar calendar date obtained by the lunar calendar / lunar calendar conversion means displayed by the lunar calendar display means belongs to the lunar calendar date. It will be displayed as the lunar calendar of the month.

【0021】また、前記第7のカレンダ表示装置では、
前記第3又は第4又は第5又は第6何れかのカレンダ表
示装置にあって、その太陰暦情報記憶手段に記憶された
太陰暦の任意の年月に対応する日付日数は、陰暦月日数
訂正手段により必要に応じて訂正されるので、イスラム
教の指導等による陰暦日数の変更に応じて、容易に日付
訂正が行なえることになる。
Also, in the seventh calendar display device,
In the calendar display device of any one of the third, fourth, fifth, and sixth, the number of days and days corresponding to an arbitrary year and month of the lunar calendar stored in the lunar calendar information storage means is determined by the lunar calendar month and day correction means. It will be corrected if necessary, so the date can be easily corrected according to changes in the number of lunar days due to Islamic guidance.

【0022】また、前記第8のカレンダ表示装置では、
前記第3又は第4又は第5又は第6又は第7何れかのカ
レンダ表示装置にあって、その陰暦基準日記憶手段に記
憶される太陰暦上の特定の年月日に対応する日数データ
は、太陰暦情報記憶手段に記憶される太陰暦の複数の年
の中で複数設定される特定年月日のそれぞれに対応して
記憶されるので、西暦/陰暦変換手段による日数データ
の演算処理に際し、指定日日数演算手段により算出され
た西暦指定年月日までの日数データに最も近い陰暦上の
特定年月日に対応する日数データを活用して、高速に陰
暦年月日への変換処理が行なえることになる。
In the eighth calendar display device,
In the calendar display device of any of the third, fourth, fifth, sixth, or seventh, the number-of-days data corresponding to a specific date on the lunar calendar stored in the lunar calendar reference date storage means is: Since it is stored corresponding to each specific year / month / day set in plurals of the lunar calendar stored in the lunar calendar information storage means, when the arithmetic processing of the year / lun calendar conversion means is performed, the specified date is calculated. Using the number of days corresponding to a specific date on the lunar calendar that is closest to the number of days up to the designated year and month calculated by the number of days calculation means, it is possible to perform conversion processing to the lunar calendar at high speed. become.

【0023】また、前記第9のカレンダ表示装置では、
前記第8のカレンダ表示装置にあって、陰暦月日数訂正
手段により太陰暦情報記憶手段に記憶された太陰暦の任
意の年月に対応する日付日数が訂正された際には、陰暦
基準日数書換え手段により、陰暦基準日記憶手段に記憶
される太陰暦上の特定の年月日に対応する日数データが
前記訂正日数に応じて書換えられるので、イスラム教の
指導等による陰暦日数の変更があっても、将来に渡り正
確な陰暦年月日への変換表示処理が行なえることにな
る。
Further, in the ninth calendar display device,
In the eighth calendar display device, when the number of days and days corresponding to an arbitrary year and month of the lunar calendar stored in the lunar calendar information storage means is corrected by the lunar calendar month / day correction means, the lunar calendar reference day number rewriting means Since the number of days corresponding to a specific date on the lunar calendar stored in the lunar calendar reference date storage means is rewritten according to the number of correction days, even if the number of lunar days is changed due to Islamic guidance, etc. It will be possible to perform an accurate conversion display process to the lunar calendar date.

【0024】[0024]

【実施例】以下図面により本発明の一実施例について説
明する。図1はカレンダ表示装置の外観構成を示す正面
図である。このカレンダ表示装置における装置本体11
の正面には、キー入力部12及び液晶表示部13が設け
られる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a front view showing an external configuration of a calendar display device. Device main body 11 in this calendar display device
A key input unit 12 and a liquid crystal display unit 13 are provided on the front surface of the.

【0025】キー入力部12には、電源の投入/遮断を
行なうON/OFFキー14a,14bの他、表示画面
上でのカーソル移動によりデータ選択を行なう際に操作
されるカーソルキー15、数値データを入力する際に操
作されるテンキー16、任意の年月日を指定する際に操
作される「月/日」キー17、太陽暦(西暦)と太陰暦
(陰暦)とを変換する際に操作される「変換」キー1
8、太陰暦の日付訂正を行なう際に操作される「訂正」
キー19等が備えられる。
The key input section 12 includes ON / OFF keys 14a and 14b for turning on / off the power source, a cursor key 15 operated when data is selected by moving the cursor on the display screen, and numerical data. Numeric keypad 16 operated when inputting, "Month / Day" key 17 operated when designating an arbitrary date, operated when converting the solar calendar (Western calendar) and the lunar calendar (Lunar calendar) "Convert" key 1
8. "Correction" operated when correcting the lunar calendar date
A key 19 and the like are provided.

【0026】液晶表示部13には、例えばONキー14
aの操作による電源の投入に伴ない、西暦の当日年月日
及び曜日が表示されると共に、該当日年月日がカーソル
により点滅指示された1カ月のカレンダが表示されるも
ので、この液晶表示部13に表示された西暦年月日を、
前記「月/日」キー17及びテンキー16を操作して任
意の年月日に変更指定すると、その変更操作に伴ないカ
レンダ表示も切替わり、また、該カレンダ表示でカーソ
ル指示される月日を、前記カーソルキー15を操作して
変更指定すると、その変更操作に伴ない年月日表示も切
替わる。
The liquid crystal display unit 13 has, for example, an ON key 14
When the power is turned on by the operation of a, the current day of the year and the day of the week are displayed, and the calendar for one month in which the relevant date is flashed by the cursor is displayed. The year, month and day displayed on the display unit 13
When the "month / day" key 17 and the numeric keypad 16 are operated to change and specify an arbitrary date, the calendar display is switched in accordance with the change operation, and the date indicated by the cursor is displayed on the calendar display. When the cursor key 15 is operated to specify a change, the display of the date is also switched with the change operation.

【0027】そして、前記「変換」キー18が操作され
ると、液晶表示部13に表示されている西暦年月日及び
そのカレンダは、対応する陰暦年月日及びそのカレンダ
に変換されて表示される。
When the "conversion" key 18 is operated, the year / month / day and its calendar displayed on the liquid crystal display unit 13 are converted into the corresponding lunar year / month / day and its calendar and displayed. It

【0028】図2は前記カレンダ表示装置の電子回路の
構成を示すブロック図である。このカレンダ表示装置
は、中央処理装置(CPU)等で構成される制御部21
を備えている。
FIG. 2 is a block diagram showing a configuration of an electronic circuit of the calendar display device. The calendar display device includes a control unit 21 including a central processing unit (CPU) and the like.
Is equipped with.

【0029】制御部21は、キー入力部12からのキー
操作信号に応じて、ROM22に予め記憶されているシ
ステムプログラムを起動させ、回路各部の動作制御を行
なうもので、この制御部21には、前記キー入力部12
及びROM22の他、計時回路23、太陰暦RAM2
4、ワークRAM25が接続されると共に、表示RAM
26を介して前記液晶表示部13が接続される。
The control unit 21 activates a system program stored in advance in the ROM 22 in response to a key operation signal from the key input unit 12, and controls the operation of each circuit unit. , The key input unit 12
And ROM 22, clock circuit 23, lunar calendar RAM2
4. Work RAM 25 is connected and display RAM
The liquid crystal display unit 13 is connected via 26.

【0030】図3は前記カレンダ表示装置のROM22
における固定データの記憶状態を示す図である。ROM
22には、カレンダ表示処理プログラムや西暦/陰暦の
変換表示処理プログラム、陰暦日数の訂正処理プログラ
ム等が予め記憶されると共に、西暦カレンダ日数テーブ
ル31a、西暦全日数最小値データ31b、西暦全日数
最大値データ31c、指定日全日数計算式31d、曜日
計算式31e、曜日データ31f等が記憶される。
FIG. 3 shows the ROM 22 of the calendar display device.
6 is a diagram showing a storage state of fixed data in FIG. ROM
22 stores a calendar display processing program, a conversion display processing program of the Western calendar / the lunar calendar, a correction processing program of the calendar year, etc. in advance, and also has a calendar calendar days table 31a, a minimum calendar year total data 31b, and a maximum calendar total days maximum. The value data 31c, the designated day total number of days calculation formula 31d, the day of the week calculation formula 31e, the day of the week data 31f and the like are stored.

【0031】前記西暦カレンダ日数テーブル31aに
は、このカレンダ表示装置で表示可能な西暦1901年
〜2099年までの各月毎の日付日数(30or31or2
8or29)が記憶されると共に、各月毎の1日の曜日デ
ータ(0:日曜〜6:土曜)が記憶される。
In the calendar calendar day number table 31a, the number of date days (30 or 31 or 2) for each month from the year 1901 to the year 2099 that can be displayed on the calendar display device is displayed.
8 or 29) and the day of the week data (0: Sunday to 6: Saturday) for each month is stored.

【0032】前記西暦全日数最小値データ31bとして
は、例えば西暦1900年3月1日を基準日“1”とす
る前記カレンダ表示可能な最小西暦年月日1901年1
月1日までの全日数“307”が記憶される。
As the minimum value data 31b of all days of the Christian era, for example, the minimum calendar year date 1901 of the calendar year 1901 with the reference date "1" of March 1, 1900
The total number of days "307" up to the first day of the month is stored.

【0033】前記西暦全日数最大値データ31cとして
は、前記西暦1900年3月1日を基準日“1”とする
前記カレンダ表示可能な最大西暦年月日2099年12
月31までの全日数“72991”が記憶される。
As the maximum day number data 31c of the calendar year, the maximum calendar year date 2099 12 that can be displayed in the calendar is the standard date "1" of March 1, 1900.
The total number of days "72991" up to the month 31 is stored.

【0034】前記指定日全日数計算式31dは、前記
「月/日」キー17やカーソルキー15の操作に応じて
指定された西暦年月日までの、前記西暦基準日(190
0年3月1日)からの全日数を算出するための計算式で
あり、西暦指定日の年をa,月をb,日をcとすると、
その全日数Xは、b≧3の場合に下式(1)で算出さ
れ、また、b<3の場合に下式(2)で算出される。
The specified day total day calculation formula 31d is based on the year reference day (190) up to the year specified by the operation of the "month / day" key 17 or the cursor key 15.
This is a formula for calculating the total number of days from March 1, 0), where a is the year designated on the year, b is the month, and c is the day.
The total number of days X is calculated by the following equation (1) when b ≧ 3, and by the following equation (2) when b <3.

【0035】 X(b≧3)=[365.25×(a−1900)]cut +[30.6×(b−3)]5/4 +c …式(1) X(b<3)=[365.25×{(a−1900)−1}]cut +[30.6×(b+9)]5/4 +c …式(2) ここで、[ ]cut とは、小数点以下の切捨てを意味
し、[ ]5/4 とは、四捨五入を意味する。
X (b ≧ 3) = [365.25 × (a-1900)] cut + [30.6 × (b-3)] 5/4 + c Equation (1) X (b <3) = [365.25 × {(a-1900) -1}] cut + [30.6 × (b + 9)] 5/4 + c Equation (2) Here, [] cut means rounding down after the decimal point. However, [] 5/4 means rounding off.

【0036】前記曜日計算式31eは、前記西暦基準日
(1900年3月1日)からの全日数Xに応じて対応す
る曜日を算出するための計算式であり、下式(3)によ
る演算結果の余り値が曜日データ(0:日曜〜6:土
曜)として得られる。
The day-of-the-week calculation formula 31e is a calculation formula for calculating a corresponding day of the week according to the total number of days X from the reference year (March 1, 1900), and is calculated by the following formula (3). The remainder value of the result is obtained as day of the week data (0: Sunday to 6: Saturday).

【0037】(全日数+3)÷7 …式(3) つまり、前記式(3)による演算結果の余り値が、例え
ば“0”の場合には“日曜日”、“6”の場合には“土
曜日”となる。
(Total number of days + 3) ÷ 7 Equation (3) That is, when the remainder value of the calculation result by Equation (3) is “0”, it is “Sunday”, and when it is “6”, it is “ It will be Saturday.

【0038】前記曜日データ31fは、0:日曜日、
1:月曜日、2:火曜日、3:水曜日、4:木曜日、
5:金曜日、6:土曜日として、それぞれ対応付けされ
て記憶される。
The day of the week data 31f is 0: Sunday,
1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday,
5: Friday and 6: Saturday are associated and stored.

【0039】図4は前記カレンダ表示装置の太陰暦RA
M24における太陰暦テーブルの記憶状態を示す図であ
る。この太陰暦テーブルには、前記カレンダ表示可能な
西暦範囲1901年1月1日(全日数307)〜209
9年12月31日(全日数72991)に対応する陰暦
範囲1318年9月10日〜1524年1月6日をカバ
ーする陰暦1318年1月〜1525年12月までの各
月毎の日付データ(“0”29or“1”30)が記憶さ
れるもので、この太陰暦テーブルにおいて、陰暦140
0年1月〜1450年12月の範囲は、サウジ公式カレ
ンダとして各月毎の日数が原則として確定されている。
FIG. 4 shows the lunar calendar RA of the calendar display device.
It is a figure which shows the memory | storage state of the lunar calendar table in M24. In this lunar calendar table, the calendar displayable year range January 1, 1901 (total number of days 307) to 209.
Date data for each month from January 18th 1318 to December 1525 that covers the lunar calendar range September 10th 1318 to January 6th 1524 corresponding to December 31st 9th (total number of days 72991) (“0” 29 or “1” 30) is stored. In this lunar calendar table, the lunar calendar 140
In the range from January 0 to December 1450, the number of days for each month is fixed in principle as the Saudi official calendar.

【0040】図5は前記カレンダ表示装置のワークRA
M25における各種ワークレジスタの構成を示す図であ
り、同図(A)は陰暦変換用ワークRAM25aのレジ
スタ構成を示す図、同図(B)はカレンダ表示用ワーク
RAM25bのレジスタ構成を示す図である。
FIG. 5 shows the work RA of the calendar display device.
It is a figure which shows the structure of various work registers in M25, the figure (A) is a figure which shows the register structure of the work RAM25a for lunar calendar conversion, and the figure (B) is a figure which shows the register structure of the work RAM25b for calendar display. .

【0041】前記図5(A)における陰暦変換用ワーク
RAM25aには、計時レジスタ41a、現西暦年月日
レジスタ41b、指定年月日レジスタ41c、指定日全
日数レジスタ41d、陰暦基準全日数レジスタ41e、
日数レジスタ41f、陰暦年月日レジスタ41g、陰暦
テーブル年ポインタ41h、陰暦テーブル月カウンタ4
1iが備えられる。
In the lunar calendar conversion work RAM 25a shown in FIG. 5 (A), the clock register 41a, the current year / month / date register 41b, the designated year / month / day register 41c, the designated date / total days register 41d, and the lunar calendar reference / total days register 41e. ,
Day register 41f, Lunar calendar date register 41g, Lunar calendar table year pointer 41h, Lunar calendar month counter 4
1i is provided.

【0042】前記計時レジスタ41aには、計時回路2
3からの計時データに基づき制御部21にて逐次更新さ
れる現在時刻データが記憶される。前記現西暦年月日レ
ジスタ41bには、前記計時レジスタ41aに記憶され
る現在時刻データに従って制御部21にて逐次更新され
る現在の西暦年月日及びその曜日データが記憶される。
The timing register 41a includes a timing circuit 2
Current time data that is sequentially updated by the control unit 21 based on the time count data from 3 is stored. The current year / month / date register 41b stores the current year / month / day and day of the week data which are sequentially updated by the control unit 21 in accordance with the current time data stored in the time counting register 41a.

【0043】前記指定年月日レジスタ41cには、前記
「月/日」キー17やカーソルキー15の操作に応じて
ユーザ指定された西暦上の指定年月日が記憶される。前
記指定日全日数レジスタ41dには、前記指定日年月日
レジスタ41cに記憶された西暦指定年月日に対応し
て、前記式(1)又は式(2)により算出された全日数
Xが記憶される。
The designated date register 41c stores the designated date in the Christian era designated by the user in response to the operation of the "month / day" key 17 or the cursor key 15. The designated date / total day number register 41d stores the total number of days X calculated by the equation (1) or the equation (2) in correspondence with the designated year / month / day stored in the designated date / year / month / day register 41c. Remembered.

【0044】前記陰暦基準全日数レジスタ41eには、
前記太陰暦テーブル(図4参照)のサウジ公式カレンダ
に対応させた、先頭年の初期陰暦年月日1400年1月
1日(西暦1979年11月20日に対応)の前記西暦
基準年月日1900年3月1日に基づく全日数データ
“29118”が、第1の陰暦基準全日数として記憶さ
れると共に、同サウジ公式カレンダに対応させた、最終
年の初期陰暦年月日1450年1月1日(西暦2028
年5月26日に対応)の全日数データ“46838”
が、第2の陰暦基準全日数として記憶される。
In the lunar calendar standard full-day register 41e,
The initial lunar calendar date 1900 of the first lunar calendar date January 1, 1400 (corresponding to November 20, 1979) corresponding to the Saudi official calendar of the lunar calendar table (see FIG. 4). The total number of days data “29118” based on March 1 of the year is stored as the first number of days of the lunar calendar, and the initial lunar date of the last year, January 1, 1450, corresponding to the same Saudi official calendar. Sun (2028 AD)
(Corresponding to May 26, 2014) All-day data "46838"
Is stored as the second lunar calendar reference total number of days.

【0045】前記日数レジスタ41fには、西暦/陰暦
の変換処理に際し、前記指定日全日数レジスタ41dに
記憶された西暦指定年月日の全日数Xを基礎して演算処
理される日数データが必要に応じて書込み記憶される。
The number-of-days register 41f requires the number-of-days data to be arithmetically processed on the basis of the total number X of designated days of the year stored in the designated-day total number-of-days register 41d in the conversion process of the year / lunar calendar. Is written and stored in accordance with.

【0046】前記陰暦年月日レジスタ41gには、前記
西暦指定年月日に対応して変換処理された太陰暦での年
月日及び曜日データが記憶される。前記陰暦テーブル年
ポインタ41hには、西暦/陰暦の変換処理に際し、前
記太陰暦テーブル(図4参照)上の年度を示すポインタ
が記憶される。
The lunar calendar date register 41g stores the lunar calendar date and day of the week data converted in correspondence with the specified year and month date. In the lunar calendar table year pointer 41h, a pointer indicating the year in the lunar calendar table (see FIG. 4) is stored in the conversion process of the western calendar / the lunar calendar.

【0047】前記陰暦テーブル月カウンタ41iには、
西暦/陰暦の変換処理に際し、前記太陰暦テーブル(図
4参照)上の月数を示すカウントデータが記憶される。
また、前記図5(B)におけるカレンダ表示用ワークR
AM25bには、1日曜日レジスタ42a、最終日付レ
ジスタ42b、表示データレジスタ42c、表示行レジ
スタ42d、表示桁レジスタ42eが備えられる。
In the lunar calendar table month counter 41i,
At the time of conversion processing of the Western calendar / Lunar calendar, count data indicating the number of months on the lunar calendar table (see FIG. 4) is stored.
Further, the work R for calendar display in FIG.
The AM 25b includes a 1st Sunday register 42a, a final date register 42b, a display data register 42c, a display row register 42d, and a display digit register 42e.

【0048】前記1日曜日レジスタ42aには、表示す
べき日付が属する1カ月のカレンダ表示処理に際し、該
当月の1日の曜日データが記憶されるもので、西暦表示
の場合、前記ROM22内の西暦カレンダ日数テーブル
31aから読出されて記憶され、また、陰暦表示の場
合、前記式(3)に基づき算出されて記憶される。
The 1-Sunday register 42a stores the day-of-week data of the 1st month in the calendar display process of the month to which the date to be displayed belongs. In the case of the Western calendar display, the Western calendar in the ROM 22 is displayed. It is read from the calendar day number table 31a and stored, and in the case of lunar calendar display, it is calculated and stored based on the equation (3).

【0049】前記最終日付レジスタ42bには、表示す
べき日付が属する1カ月のカレンダ表示処理に際し、該
当月の最終の日付データが記憶されるもので、西暦表示
の場合、前記ROM22内の西暦カレンダ日数テーブル
31aから読出されて記憶され、また、陰暦表示の場
合、前記太陰暦テーブル(図4参照)から読出されて記
憶される。
The last date register 42b stores the last date data of the month when the calendar display process of the month to which the date to be displayed belongs belongs. When the year is displayed, the year calendar in the ROM 22 is displayed. It is read and stored from the number-of-days table 31a, and in the case of lunar calendar display, it is read and stored from the lunar calendar table (see FIG. 4).

【0050】前記表示データレジスタ42cには、前記
カレンダ表示処理に際し、前記表示RAM26に書込ん
で配列表示すべき1カ月の日付データが、前記最終日付
レジスタ42bに記憶された最終日付データに一致する
まで順次カウントアップされて記憶される。
In the display data register 42c, the date data of one month to be written in the display RAM 26 and displayed in an array at the time of the calendar display process matches the final date data stored in the final date register 42b. Are sequentially counted up and stored.

【0051】前記表示行レジスタ42dには、前記表示
データレジスタ42cに記憶された日付データを配列す
べき表示RAM26上の行アドレスが、1週間表示毎に
順次カウントアップされて記憶される。
In the display row register 42d, row addresses on the display RAM 26 to which the date data stored in the display data register 42c are to be arranged are sequentially counted up for each week and stored.

【0052】前記表示桁レジスタ42eには、前記表示
データレジスタ42cに記憶された日付データを配列す
べき表示RAM26上の桁アドレスが、1週間単位の1
日表示毎に順次カウントアップされて記憶される。
In the display digit register 42e, the digit address on the display RAM 26 in which the date data stored in the display data register 42c is to be arranged is 1 for each week.
Each day display is sequentially counted up and stored.

【0053】次に、前記構成によるカレンダ表示装置の
動作について説明する。まず、キー入力部12のONキ
ー14aを操作して電源を投入すると、ワークRAM2
5内の現西暦年月日レジスタ41bに記憶されている現
在の西暦年月日及び曜日データに対応する西暦年月日及
び曜日が、例えば図1で示したように、液晶表示部13
に表示されると共に、該西暦年月日の属する1カ月のカ
レンダが、ROM22内の西暦カレンダ日数テーブル3
1aに記憶されている該当月の日付日数及びその1日の
曜日データに基づき表示される。
Next, the operation of the calendar display device having the above structure will be described. First, when the power is turned on by operating the ON key 14a of the key input unit 12, the work RAM 2
5, the year and month and day corresponding to the current year and month and day data stored in the current year and month register 41b are displayed on the liquid crystal display unit 13 as shown in FIG. 1, for example.
And the calendar of one month to which the year, month and day belongs is displayed in the calendar day table 3 in the ROM 22.
It is displayed based on the number of days of the month and the day of the week data stored in 1a.

【0054】図6は前記カレンダ表示装置による西暦/
陰暦変換表示処理を示すフローチャートである。すなわ
ち、現西暦年月日レジスタ41bに記憶された現在の西
暦年月日に応じて表示された西暦年月日、又は、キー入
力部12の「月/日」キー17やカーソルキー15の操
作に応じて表示された所望の西暦年月日が、図1で示し
たように、例えば西暦1994年2月1日(火)である
場合に、この西暦年月日“1994年2月1日”に対応
する太陰暦の年月日を表示させるのに、「変換」キー1
8を操作すると、まず、陰暦への変換対象として指定さ
れた前記西暦年月日“1994年2月1日”が、ワーク
RAM25内の指定年月日レジスタ41cに記憶される
(ステップS1)。
FIG. 6 shows the year / year on the calendar display device.
It is a flow chart which shows lunar calendar conversion display processing. That is, the year / month / day displayed according to the current year / month / day stored in the current year / year / month / day register 41b, or the operation of the “month / day” key 17 or the cursor key 15 of the key input unit 12. As shown in FIG. 1, when the desired year / month / day displayed in accordance with is, for example, February 1st, 1994 (Tuesday), this year / year “February 1, 1994” is displayed. "Convert" key 1 to display the lunar calendar date corresponding to
When 8 is operated, the year / month / day “February 1, 1994” designated as a conversion target to the lunar calendar is stored in the designated date / month register 41c in the work RAM 25 (step S1).

【0055】すると、西暦基準日“1900年3月1
日”から前記西暦指定年月日“1994年2月1日”ま
での全日数Xが、ROM22内に記憶される指定日全日
数計算式[式(1)又は式(2)]に基づき算出され、
ワークRAM25内の指定日全日数レジスタ41dに記
憶される(ステップS2)。
Then, the base date of the year "March 1, 1900"
The total number of days X from "day" to the specified date of the year "February 1, 1994" is calculated based on the specified day total number calculation formula [formula (1) or formula (2)] stored in the ROM 22. Is
The data is stored in the designated day / all days register 41d in the work RAM 25 (step S2).

【0056】この場合、西暦指定月b=2であるので、
式(2)により全日数Xが算出されるもので、この式
(2)に対し、前記西暦指定年月日に対応してa=19
94,b=2,c=1と代入されると、その全日数X
は、 X=[365.25×{(1994−1900)−
1}]cut+[30.6×(2+9)]5/4 +1=[3
3968]+[338]=34306 として算出され、前記指定日全日数レジスタ41dに記
憶される。
In this case, since the designated month of the year b = 2,
The total number of days X is calculated by the formula (2). For this formula (2), a = 19 corresponding to the specified year and month date.
Substituting 94, b = 2, c = 1, the total number of days X
X = [365.25 * {(1994-1900)-
1}] cut + [30.6 × (2 + 9)] 5/4 + 1 = [3
3968] + [338] = 34306, which is stored in the designated day / all days register 41d.

【0057】ここで、指定日全日数レジスタ41dに記
憶された指定日全日数X“34306”が、ROM22
内に予め記憶されたカレンダ表示可能な西暦全日数最小
値データ31b“307”(西暦1901年1月1日に
対応)〜西暦全日数最大値データ31c“72991”
(西暦2099年12月31日に対応)の範囲内か否か
判断されるもので、この場合、前記指定日全日数X“3
4306”は、表示可能範囲“307”〜“7299
1”内なので、太陰暦テーブル(図4参照)に対する基
準年ポインタのセット処理に移行する(ステップS3→
SA)。
Here, the designated date total number of days X stored in the designated date total number register 41d X "34306" is the ROM 22.
Calendar-minimum full-day data 31b "307" (corresponding to January 1, 1901) to calendar-displayable maximum date data 31c "72991"
(Corresponding to December 31, 2099 AD) It is determined whether or not it is within the range, and in this case, the total number of designated days X “3”.
4306 ”is a displayable range“ 307 ”to“ 7299.
Since it is within 1 ", the process proceeds to the process of setting the reference year pointer for the lunar calendar table (see FIG. 4) (step S3 →
SA).

【0058】一方、前記西暦指定日全日数Xが、西暦全
日数最小値データ31b及び最大値データ31cで示さ
れるカレンダ表示可能範囲外であると判断された場合に
は、液晶表示部13にエラーメッセージが表示される
(ステップS3→S4)。
On the other hand, when it is determined that the total number X of designated days of the year is outside the calendar displayable range indicated by the minimum number data 31b and the maximum value data 31c of the full year, an error is displayed on the liquid crystal display unit 13. A message is displayed (steps S3 → S4).

【0059】図7は前記カレンダ表示装置の西暦/陰暦
変換表示処理に伴なう陰暦テーブルの基準年ポインタセ
ット処理を示すフローチャートである。すなわち、ま
ず、前記ステップS2においてワークRAM25内の指
定日全日数レジスタ41dに記憶された西暦指定日“1
994年2月1日”の全日数X“34306”と、陰暦
基準全日数レジスタ41eに記憶されている陰暦テーブ
ル(図4参照)上の1400年1月1日に対応する第1
の陰暦基準全日数“29118”とが比較され、前記西
暦指定日が陰暦上の1400年未満に存在するか否か判
断される(ステップA1,A2)。
FIG. 7 is a flow chart showing the reference year pointer setting process of the lunar calendar table accompanying the Western calendar / lunar calendar conversion display process of the calendar display device. That is, first, in step S2, the designated year "1" stored in the designated day total number register 41d in the work RAM 25 is stored.
The total number of days X “34306” of “February 1, 994” and the first number corresponding to January 1, 1400 on the lunar calendar table (see FIG. 4) stored in the lunar calendar reference total number of days register 41e.
Is compared with the total number of days in the lunar calendar of "29118", and it is determined whether or not the designated day of the year exists in less than 1400 years on the lunar calendar (steps A1 and A2).

【0060】このステップA2において「NO」、つま
り、前記指定日全日数X“34306”は前記第1の陰
暦基準全日数“29118”以上なので、前記西暦指定
日“1994年2月1日”は陰暦上の1400年以上に
存在すると判断されると、さらに、前記指定日全日数X
“34306”と、陰暦基準全日数レジスタ41eに記
憶されている陰暦テーブル(図4参照)上の1450年
1月1日に対応する第2の陰暦基準全日数“4683
8”とが比較され、前記西暦指定日が陰暦上の1450
年未満に存在するか否か判断される(ステップA3,A
4)。
In step A2, "NO", that is, the designated day total number X "34306" is equal to or greater than the first lunar calendar reference total number "29118", so that the designated year "February 1, 1994" is If it is determined that the lunar calendar exists for more than 1400 years, the total number of specified days X
"34306" and the second lunar calendar reference total number of days corresponding to January 1, 1450 on the lunar calendar table (see FIG. 4) stored in the lunar calendar reference total number register 41e "4683".
8 "is compared, and the designated day of the Western calendar is 1450 on the lunar calendar.
It is judged whether or not it exists in less than a year (steps A3, A
4).

【0061】このステップA4において「YES」、つ
まり、前記指定日全日数X“34306”は前記第2の
陰暦基準全日数“46838”未満なので、前記西暦指
定日“1994年2月1日”は陰暦上の1400年以上
で1450年未満に存在すると判断されると、その先頭
の陰暦基準日1400年1月1日に対応する第1の陰暦
基準全日数“29118”が前記陰暦基準全日数レジス
タ41eから読出され、前記指定日全日数X“3430
6”との差が「34306−29118=5188」と
して求められる(ステップA5,A6)。
In step A4, "YES", that is, the designated date total number of days X "34306" is less than the second lunar calendar reference total number of days "46838", so the specified date "February 1, 1994" is When it is determined that the date exists in the lunar calendar in the range of 1400 years to less than 1450, the first lunar calendar reference total number "29118" corresponding to the leading lunar calendar reference date of January 1, 1400 is set as the lunar calendar reference total number register. 41e, the total number of days on the specified day X "3430
The difference from 6 "is obtained as" 34306-29118 = 5188 "(steps A5 and A6).

【0062】つまり、このステップA6では、西暦指定
日“1994年2月1日”に対応する全日数X“343
06”が示すところの陰暦上の年月日が、第1の陰暦基
準日“1400年1月1日”以降の何日目に存在するか
求められるもので、この指定日全日数X“34306”
に対応させた第1の陰暦基準日“1400年1月1日”
からの日数データ“5188”は、ワークRAM25内
の日数レジスタ41fに記憶される。
That is, in this step A6, the total number of days X corresponding to the designated day "February 1, 1994" X "343"
06 ”indicates the date on the lunar calendar that exists on and after the first lunar calendar reference date“ January 1, 1400 ”, which is the total number of designated days X“ 34306 ”. ”
The first lunar calendar reference date corresponding to "January 1, 1400"
The number-of-days data “5188” is stored in the number-of-days register 41 f in the work RAM 25.

【0063】すると、ワークRAM25内の陰暦テーブ
ル年ポインタ41hには、太陰暦テーブル(図4参照)
上の第1の陰暦基準年度1400年を示すアドレスポイ
ンタがセットされる(ステップA7)。
Then, a lunar calendar table (see FIG. 4) is stored in the lunar calendar table year pointer 41h in the work RAM 25.
An address pointer indicating the first lunar calendar base year 1400 above is set (step A7).

【0064】一方、前記ステップA4において「N
O」、つまり、西暦指定日に対応する全日数Xは第2の
陰暦基準全日数“46838”以上なので、西暦指定日
は陰暦上の1450年以上に存在すると判断されると、
その先頭の陰暦基準日1450年1月1日に対応する第
2の陰暦基準全日数“46838”が陰暦基準全日数レ
ジスタ41eから読出され、前記指定日全日数Xとの差
が「X−46838」として求められる(ステップA
8,A9)。
On the other hand, in step A4, "N
O ”, that is, the total number of days X corresponding to the designated day of the year is equal to or greater than the second lunar calendar standard total number of days“ 46838 ”.
The second lunar calendar reference total number of days "46838" corresponding to the first lunar calendar reference date of January 1, 1450 is read from the lunar calendar reference total number of days register 41e, and the difference from the designated date total number of days X is "X-46838". Is required (Step A
8, A9).

【0065】つまり、このステップA9では、西暦指定
日に対応する全日数Xが示すところの陰暦上の年月日
が、第2の陰暦基準日“1450年1月1日”以降の何
日目に存在するか求められるもので、この指定日全日数
Xに対応させた第2の陰暦基準日“1450年1月1
日”からの日数データ“X−46838”は、ワークR
AM25内の日数レジスタ41fに記憶され、陰暦テー
ブル年ポインタ41hには、太陰暦テーブル(図4参
照)上の第2の陰暦基準年度1450年を示すアドレス
ポインタがセットされる(ステップA10)。
In other words, in this step A9, the date on the lunar calendar indicated by the total number of days X corresponding to the designated day of the year is the day after the second lunar calendar reference date "January 1, 1450". The second lunar calendar reference date “January 1, 1450” corresponding to the total number X of designated days
"X-46838" is the number of days from "Day"
The address pointer indicating the second lunar calendar reference year 1450 on the lunar calendar table (see FIG. 4) is set in the lunar calendar table year pointer 41h, which is stored in the day register 41f in the AM 25 (step A10).

【0066】一方、前記ステップA2において「YE
S」、つまり、西暦指定日に対応する全日数Xは第1の
陰暦基準全日数“29118”未満なので、西暦指定日
は陰暦上の1400年未満に存在すると判断されると、
陰暦1318年9月10日に対応する全日数、つまり、
表示可能最小日に対応する全日数“307”が、ROM
22内の西暦全日数最小値データ31bから読出され、
前記指定日全日数Xとの差が「X−307」として求め
られる(ステップA11,A12)。
On the other hand, in step A2, "YE
S ”, that is, the total number of days X corresponding to the designated day of the year is less than the first lunar calendar standard total number of days“ 29118 ”, so it is determined that the designated day of the year exists in less than 1400 years on the lunar calendar.
The total number of days corresponding to the lunar calendar September 10, 1318, that is,
The total number of days "307" corresponding to the minimum displayable date is in ROM
It is read from the minimum value data 31b for all days of the year in 22
The difference from the total number X of designated days is obtained as "X-307" (steps A11 and A12).

【0067】つまり、このステップA12では、西暦指
定日に対応する全日数Xが示すところの陰暦上の年月日
が、表示可能陰暦最小日“1318年9月10日”以降
の何日目に存在するか求められるもので、この指定日全
日数Xに対応させた表示可能陰暦最小日“1318年9
月10日”からの日数データ“X−307”は、ワーク
RAM25内の日数レジスタ41fに記憶され、陰暦テ
ーブル年ポインタ41hには、太陰暦テーブル(図4参
照)上の表示可能陰暦最小年度1318年を示すアドレ
スポインタがセットされる(ステップA13)。
In other words, in this step A12, the date on the lunar calendar indicated by the total number of days X corresponding to the designated day of the year is the day after the minimum displayable lunar calendar date "September 10, 1318". It is requested whether or not it exists. The minimum displayable lunar calendar day corresponding to this specified number of all days X is 1318 9
The number of days data "X-307" from "Month 10th" is stored in the number of days register 41f in the work RAM 25, and the lunar calendar table year pointer 41h indicates the minimum lunar year 1318 that can be displayed on the lunar calendar table (see FIG. 4). Is set (step A13).

【0068】このように、前記図7における陰暦テーブ
ルの基準年ポインタセット処理(ステップA1〜A7)
に従って、西暦指定日“1994年2月1日”に対応す
る全日数X“34306”が存在するところの陰暦テー
ブル上の先頭年度“1400年”を示すアドレスポイン
タが、陰暦テーブル年ポインタ41hにセットされる
と、前記西暦指定日“1994年2月1日”に対応する
太陰暦の年月日取得処理に移行する(ステップSB)。
As described above, the reference year pointer setting process of the lunar calendar table in FIG. 7 (steps A1 to A7)
Accordingly, the address pointer indicating the first year “1400” on the lunar calendar table where the total number of days X “34306” corresponding to the designated day of the year “February 1, 1994” exists is set in the lunar calendar table year pointer 41h. Then, the process proceeds to the lunar calendar date acquisition process corresponding to the designated day of the year "February 1, 1994" (step SB).

【0069】図8は前記カレンダ表示装置の西暦/陰暦
変換表示処理に伴なう太陰暦年月日の取得処理を示すフ
ローチャートである。すなわち、まず、現在の陰暦テー
ブル年ポインタ41hにて示される陰暦年度“1400
年”に対応する1年分の日数が、前記太陰暦テーブル
(図4参照)における該当年各月毎の日数データ“1,
0,1,0,1,0,0,1,0,1,1,0”に基づ
き“29×6+30×6=354日”として算出される
(ステップB1)。
FIG. 8 is a flow chart showing the process of acquiring the lunar calendar date associated with the conversion / display process of the calendar / display of the calendar on the calendar display device. That is, first, the lunar year “1400” indicated by the current lunar table pointer 41h.
The number of days for one year corresponding to the “year” is the number of days data “1,” for each month of the year in the lunar calendar table (see FIG. 4).
Based on "0,1,0,1,0,0,1,0,1,1,0", it is calculated as "29 × 6 + 30 × 6 = 354 days" (step B1).

【0070】すると、前記ステップA6において日数レ
ジスタ41fに記憶された、指定日全日数X“3430
6”に対応する陰暦年月日までの“1400年1月1
日”以降の日数データ“5188”から、前記ステップ
B1にて算出された陰暦テーブル年ポインタ41hが示
す陰暦年度“1400年”の1年分の日数データ“35
4日”が「5188−354=4834」として減算処
理されるもので、この減算結果である、西暦指定日に対
応する陰暦年月日までの陰暦年度“1401年”以降の
日数データ“4834”は、前記日数レジスタ41fに
書換えられて記憶される(ステップB2)。
Then, the total number of designated days X "3430" stored in the number-of-days register 41f in step A6.
“January 1, 1400 until the lunar calendar date corresponding to 6”
From the number data "5188" after "day", the number data "35" for one year of the lunar calendar year "1400" indicated by the lunar calendar table year pointer 41h calculated in the step B1.
4 days "is subtracted as" 5188-354 = 4834 ", and the result of this subtraction is the number of days data" 4834 "after the lunar calendar year" 1401 "up to the lunar calendar date corresponding to the designated day of the year. Is rewritten and stored in the days register 41f (step B2).

【0071】そして、前記日数レジスタ41fに記憶さ
れた日数データ“4834”が“負”であるか否か判断
されるもので、この場合、日数データ“4834”は
“正”なので、前記陰暦テーブル年ポインタ41hが
(+1)更新され、陰暦テーブル上の1401年が指示
される(ステップB3→B4)。
Then, it is judged whether or not the number-of-days data "4834" stored in the number-of-days register 41f is "negative". In this case, since the number-of-days data "4834" is "positive", the lunar table The year pointer 41h is updated by (+1), and 1401 on the lunar calendar table is designated (step B3 → B4).

【0072】この後、前記ステップB1〜B4の処理が
繰返し実行され、前記日数レジスタ41fに記憶された
日数データ“4834”から、前記陰暦テーブル年ポイ
ンタ41hが示す陰暦1401年以降それぞれの年度の
1年分の日数データが順次減算されるもので、後のステ
ップB4において、陰暦テーブル年ポインタ41hが
(+1)されて陰暦テーブル上の1414年が指示され
た際に、ステップB1,B2において、そのとき日数レ
ジスタ41fに記憶されている西暦指定日に対応する陰
暦年月日までの陰暦1414年以降の日数データ“22
8”から、当該陰暦1414年の1年分の日数データ
“355日”が減算されると、「228−355=−1
27」として新たに日数レジスタ41fに記憶され、ス
テップB3において、減算結果“負”と判断される。
After that, the processes of steps B1 to B4 are repeatedly executed, and from the number-of-days data "4834" stored in the number-of-days register 41f, 1 of each year after the lunar calendar 1401 indicated by the lunar calendar table year pointer 41h. The number-of-days data is sequentially subtracted, and in step B4, when the lunar calendar table year pointer 41h is (+1) and 1414 on the lunar calendar table is pointed to, in steps B1 and B2, The number of days data after the lunar calendar 1414 up to the lunar calendar date corresponding to the designated day of the year stored in the hour register 41f "22
When the number data “355 days” for one year of the lunar calendar 1414 is subtracted from “8”, “228-355 = −1”
27 ”is newly stored in the number-of-days register 41f, and the subtraction result is determined to be“ negative ”in step B3.

【0073】すると、前記日数レジスタ41fに記憶さ
れた日数データ“−127”に、その直前に減算した陰
暦1414年の1年分の日数データ“355日”が「−
127+355=228」として加算処理され、西暦指
定日に対応する陰暦年月日が陰暦1414年の228日
目として求められ、日数レジスタ41fに記憶される
(ステップB3→B5)。
Then, the number-of-days data "-127" stored in the number-of-days register 41f is replaced by the number-of-days data "355 days" for one year of the lunar calendar 1414 immediately before the "-127".
127 + 355 = 228 ", and the lunar calendar date corresponding to the designated day of the Christian era is obtained as the 228th day of the lunar calendar 1414 and stored in the number-of-days register 41f (steps B3 → B5).

【0074】次に、前記ステップB5において日数レジ
スタ41fに記憶された、西暦指定日に対応する陰暦年
月日を示す陰暦1414年の日数データ“228”か
ら、陰暦テーブル年ポインタ41hが示す陰暦“141
4年”における各月毎の日数が、陰暦テーブル上の14
14年の各月の日付データに従って減算処理されるもの
で、まず、陰暦1414年1月の日付データ“1”に従
って、前記陰暦年月日を示す日数データ“228”が
「228−30=198」として減算処理されると、こ
の減算結果である、陰暦1414年2月から西暦指定日
に対応する陰暦年月日までの日数データ“198”は、
前記日数レジスタ41fに書換えられて記憶される(ス
テップB6)。
Next, in step B5, the lunar calendar table year pointer 41h indicates the lunar calendar "from the date data" 228 "of the lunar calendar 1414 indicating the lunar calendar date corresponding to the designated day of the year stored in the day register 41f. 141
The number of days in each month in "4 years" is 14 on the lunar calendar table.
The subtraction processing is performed according to the date data of each month of 14 years. First, according to the date data "1" of January 1414 of the lunar calendar, the number data "228" indicating the lunar calendar date is "228-30 = 198". When the subtraction process is performed as "," the number data "198" from February 1414 of the lunar calendar to the lunar calendar date corresponding to the designated day of the Christian era is
It is rewritten and stored in the days register 41f (step B6).

【0075】そして、前記日数レジスタ41fに記憶さ
れた日数データ“198”が“負”であるか否か判断さ
れるもので、この場合、日数データ“198”は“正”
なので、陰暦テーブル月カウンタ41iが“1”から
“2”にカウントアップされ、陰暦テーブル上の141
4年2月が指示される(ステップB7→B8)。
Then, it is judged whether or not the number of days data "198" stored in the number of days register 41f is "negative". In this case, the number of days data "198" is "positive".
Therefore, the lunar calendar table month counter 41i is incremented from "1" to "2", and
February 4th is instructed (steps B7 → B8).

【0076】この後、前記ステップB6〜B8の処理が
繰返し実行され、前記日数レジスタ41fに記憶された
日数データ“198”から、前記陰暦テーブル月カウン
タ41iが示す陰暦1414年2月以降それぞれの月毎
の日数データが順次減算されるもので、後のステップB
8において、陰暦テーブル月カウンタ41iが(+1)
されて陰暦テーブル上の1414年8月が指示された際
に、ステップB6において、そのとき日数レジスタ41
fに記憶されている西暦指定日に対応する陰暦年月日ま
での陰暦1414年8月1日以降の日数データ“21”
から、当該陰暦1414年8月分の日数データ“29
日”が減算されると、「21−29=−8」として新た
に日数レジスタ41fに記憶され、ステップB8におい
て、減算結果“負”と判断される。
After that, the processes of steps B6 to B8 are repeatedly executed, and from the number-of-days data "198" stored in the number-of-days register 41f, each month after February 1414 of the lunar calendar indicated by the lunar calendar table month counter 41i. The number of days data for each is subtracted one after another.
8, the lunar calendar table month counter 41i is (+1)
Then, when August 1414 on the lunar calendar table is designated, in step B6, the number of days register 41 is then set.
The day data "21" from August 1, 1414 until the lunar calendar date corresponding to the designated day of the year stored in f
From the date data of August 1414
When "day" is subtracted, "21-29 = -8" is newly stored in the day number register 41f, and the subtraction result is determined to be "negative" in step B8.

【0077】すると、前記日数レジスタ41fに記憶さ
れた日数データ“−8”に、その直前に減算した陰暦1
414年8月分の日数データ“29日”が「−8+29
=21」として加算処理され、西暦指定日に対応する陰
暦年月日が陰暦1414年8月の21日目として求めら
れ、日数レジスタ41fに記憶される(ステップB7→
B9)。
Then, the lunar calendar 1 subtracted immediately before is added to the number-of-days data "-8" stored in the number-of-days register 41f.
The number of days data for August 414 "29 days" is "-8 + 29".
= 21 ", the lunar calendar date corresponding to the designated day of the year is obtained as the 21st day of August 1414 of the lunar calendar and stored in the number-of-days register 41f (step B7 →
B9).

【0078】これにより、前記陰暦テーブル年ポインタ
41hが示す陰暦年度“1414年”、及び前記陰暦テ
ーブル月カウンタ41iが示す陰暦月“8”、及び前記
日数レジスタ41fに記憶された日数データ“21”
が、それぞれ陰暦年月日レジスタ41gにセットされ、
西暦指定年月日“1994年2月1日(火)”に対応す
る陰暦年月日として“1414年8月21日”が得られ
るようになる(ステップB10〜B12)。
As a result, the lunar calendar year "1414" indicated by the lunar calendar table year pointer 41h, the lunar calendar month "8" indicated by the lunar calendar table month counter 41i, and the day number data "21" stored in the day number register 41f.
Are set in the lunar calendar date register 41g,
"August 21, 1414" is obtained as the lunar calendar date corresponding to the designated date "Tuesday, February 1, 1994" (steps B10 to B12).

【0079】一方、前記西暦指定年月日“1994年2
月1日(火)”に対応する陰暦年月日“1414年8月
21日”の曜日データは、前記指定日全日数X“343
06”に基づき、ROM22に予め記憶された曜日計算
式31e[式(3)]により算出されるもので、つま
り、前記指定日全日数X“34306”を前記式(3)
に代入すると、 (34306+3)÷7=4901…余り2 となるので、該余り“2”(火曜)が曜日データとして
前記陰暦年月日レジスタ41gにセットされ、前記西暦
指定年月日“1994年2月1日(火)”に対応する陰
暦年月日“1414年8月21日(火)”が得られるよ
うになる。
On the other hand, the designated date of the year "2nd 1994"
The day of the week data of the lunar calendar date "August 21, 1414" corresponding to "Tuesday, 1st month" is the total number of designated days X "343".
Is calculated by the day calculation formula 31e [formula (3)] stored in advance in the ROM 22 on the basis of 06 ″, that is, the designated day total number X “34306” is calculated by the formula (3).
Substituting into (34306 + 3) ÷ 7 = 4901 ... the remainder 2 is set, so the remainder “2” (Tuesday) is set as day of the week data in the lunar calendar date register 41g, and the designated year of the year “1994” The lunar calendar date “Tuesday, August 21, 1414” corresponding to “Tuesday, February 1” will be obtained.

【0080】なお、前記図7における太陰暦テーブルの
年ポインタセット処理において、そのステップA1,A
2→A11〜A13の処理を経て、指定日全日数Xに対
応する陰暦年月日が第1の陰暦基準日“1400年1月
1日”未満に存在すると判断されることで、表示可能な
陰暦最小日“1318年9月10日”から前記指定日全
日数Xに対応する陰暦年月日までの日数データが日数レ
ジスタ41fに記憶されると共に、陰暦テーブル年ポイ
ンタ41hに対し、陰暦1318年を示すアドレスポイ
ンタがセットされた場合には、前記図8における太陰暦
年月日取得処理のステップB1,B2において前記日数
データから減算される1年分の日数は、前記年ポインタ
41hが陰暦1318年を示している第1回目の処理に
限り、前記表示可能陰暦最小日“1318年9月10
日”以降同年12月末までの日数として設定される。
In the year pointer setting process of the lunar calendar table in FIG. 7, steps A1 and A
It is possible to display by performing the processing from 2 → A11 to A13, and determining that the lunar calendar date corresponding to the total number X of designated days is less than the first lunar calendar reference date “January 1, 1400”. The number of days from the minimum lunar calendar date "September 10, 1318" to the lunar calendar year date corresponding to the specified total number X of days is stored in the days register 41f, and the lunar calendar table year pointer 41h indicates the lunar calendar year 1318. 8 is set, the number of days for one year subtracted from the number-of-days data in steps B1 and B2 of the lunar calendar date acquisition process in FIG. Only in the first processing that indicates "the minimum day of the lunar calendar that can be displayed is" September 10, 1318 ".
It is set as the number of days from "day" to the end of December of the same year.

【0081】つまり、前記太陰暦テーブル(図4参照)
の1318年9月〜12月までの日付データ“1,0,
1,0”に基づき、その合計日数“118日”が算出さ
れ、これから9月の“10日”分が減算されることで、
前記日数データから減算すべき1318年度分の日数
“108日”が得られる。
That is, the lunar calendar table (see FIG. 4).
Date data from September to December, 1318 "1,0,
Based on "1,0", the total number of days "118 days" is calculated, and by subtracting "10 days" for September from this,
The number of days "108 days" for the year 1318 to be subtracted from the number of days data is obtained.

【0082】よって、陰暦テーブル年ポインタ41hに
対し、陰暦1318年を示すアドレスポインタがセット
された場合には、ステップB1,B2における第1回目
の日数データ減算処理でのみ、日数レジスタ41fに記
憶された日数データからは前記“108日”が減算さ
れ、次年度以降は、順次1年分の日数が減算されるよう
になる。
Therefore, when the address pointer indicating the lunar calendar 1318 is set in the lunar calendar table year pointer 41h, it is stored in the day register 41f only in the first days data subtraction processing in steps B1 and B2. The "108 days" is subtracted from the number of days data, and the number of days for one year is sequentially subtracted from the next year onward.

【0083】また、前記図8における太陰暦年月日取得
処理のステップB6において、陰暦テーブル年ポインタ
41hが陰暦1318年にセットされいる場合には、陰
暦テーブル月カウンタ41iの初期値は“9月”とな
り、日数レジスタ41fに記憶された日数データからの
第1回目の月日数減算処理でのみ、前記“1318年9
月10日”以降の当月残日数“21日”が減算される。
If the lunar calendar table year pointer 41h is set to the lunar calendar 1318 in step B6 of the lunar calendar year / date acquisition process in FIG. 8, the initial value of the lunar calendar table month counter 41i is "September". Therefore, only in the first subtraction process of the number of days and days from the number-of-days data stored in the number-of-days register 41f, the “1318
The number of remaining days "21st" of the current month after "10th" is subtracted.

【0084】こうして、前記図8における太陰暦年月日
の取得処理に従って、西暦指定年月日“1994年2月
1日(火)”に対応する陰暦年月日“1414年8月2
1日(火)”が、ワークRAM25内の陰暦年月日レジ
スタ41gに得られると、該陰暦年月日“1414年8
月21日”の属する月の1日、つまり“陰暦1414年
8月1日”の曜日データが、当該“1414年8月1
日”の全日数“34286”「=X−20」に基づき、
ROM22に予め記憶された曜日計算式31e[式
(3)]により算出される(ステップS5)。
Thus, according to the lunar calendar date acquisition process in FIG. 8, the lunar calendar date “August 2, 1414” corresponding to the designated date “February 1, 1994 (Tuesday)” in the Christian era.
When "1st (Tue)" is obtained in the lunar calendar date register 41g in the work RAM 25, the lunar calendar date "1414 8"
The first day of the month to which "21st month" belongs, that is, the day of the week data of "August 1, 1414" is the corresponding "August 1, 1414".
Based on the total number of days “34286” “= X-20”
It is calculated by the day calculation formula 31e [formula (3)] stored in advance in the ROM 22 (step S5).

【0085】つまり、前記“陰暦1414年8月1日”
の全日数“34286”を前記式(3)に代入すると、 (34286+3)÷7=4898…余り3 となるので、該余り“3”(水曜)が陰暦カレンダの1
日の曜日データとしてワークRAM25内の1日曜日レ
ジスタ42aにセットされる。
That is, the above-mentioned "Lunar dated August 1, 1414"
Substituting the total number of days “34286” into the formula (3) gives (34286 + 3) ÷ 7 = 4898 ... remainder 3, so the remainder “3” (Wednesday) is 1 in the lunar calendar.
It is set in the 1-Sunday register 42a in the work RAM 25 as the day of the week data.

【0086】また、前記陰暦年月日“1414年8月2
1日”の属する月、つまり“陰暦1414年8月”の日
付日数が、前記太陰暦テーブルに記憶された対応する日
付データ“0”に基づき“29日”として取得され、ワ
ークRAM25内の最終日付レジスタ42bにセットさ
れる(ステップS6)。
The lunar calendar date "August 2, 1414"
The month to which "1 day" belongs, that is, the number of days of "August 1414" is acquired as "29 days" based on the corresponding date data "0" stored in the lunar calendar table, and the last date in the work RAM 25 is acquired. It is set in the register 42b (step S6).

【0087】こうして、前記西暦指定年月日“1994
年2月1日(火)”に対応する陰暦年月日“1414年
8月21日(火)”が陰暦年月日レジスタ41gに得ら
れると共に、該当月の1日の曜日データ“3”(水曜)
及び日付日数“29日”が、それぞれ1日曜日レジスタ
42a及び最終日付レジスタ32bに得られると、太陰
暦カレンダの表示処理に移行する(ステップSC)。
Thus, the designated day of the year "1994"
The lunar calendar date “Tuesday, August 21, 1414” corresponding to “February 1 (Tuesday)” is obtained in the lunar calendar date register 41g, and the day of the week data “3” of the corresponding month is obtained. (Wednesday)
And the date number "29 days" are obtained in the 1st Sunday register 42a and the last date register 32b, respectively, the process proceeds to the display process of the lunar calendar (step SC).

【0088】図9は前記カレンダ表示装置の西暦/陰暦
変換表示処理に伴なう太陰暦カレンダの表示処理を示す
フローチャートである。図10は前記カレンダ表示装置
の西暦/陰暦変換表示処理に伴なう太陰暦カレンダの表
示状態を示す図である。
FIG. 9 is a flow chart showing the display process of the lunar calendar that accompanies the display process of conversion of the calendar / luenical calendar by the calendar display device. FIG. 10 is a diagram showing a display state of the lunar calendar that accompanies the conversion / display processing of the year / luennial calendar of the calendar display device.

【0089】すなわち、まず、表示RAM26がクリア
されると、ワークRAM25内の1日曜日レジスタ42
aに記憶された表示すべき陰暦カレンダ“1414年8
月”の1日の曜日データ“3”(水曜)に基づき、対応
する日付“1”を表示データとして表示すべき、表示R
AM26に対するカレンダ表示領域の桁行位置が、表示
行レジスタ42d及び表示桁レジスタ42eのそれぞれ
に対して初期設定される(ステップC1,C2)。
That is, first, when the display RAM 26 is cleared, the 1-Sunday register 42 in the work RAM 25 is
Lunar calendar to be displayed, stored in “a” 1414 8
Display R that should display the corresponding date "1" as display data based on the day of the week data "3" (Wednesday) of "month"
The digit row position of the calendar display area with respect to the AM 26 is initialized to each of the display row register 42d and the display digit register 42e (steps C1 and C2).

【0090】この場合、水曜日の桁に対応する第1週行
目が初期の桁行位置として設定される。そして、ワーク
RAM25内の表示データレジスタ42cに対して、第
1日目として表示すべき日付“1”が初期設定される
(ステップC3)。
In this case, the first week row corresponding to the Wednesday digit is set as the initial digit row position. Then, the date "1" to be displayed as the first day is initially set in the display data register 42c in the work RAM 25 (step C3).

【0091】すると、前記ステップC2において表示行
及び桁レジスタ42d,42eに初期設定された桁行位
置に対応して、前記表示データレジスタ42cに初期設
定された日付“1”が、表示RAM26に書込まれて液
晶表示部13に表示されるもので、この際、前記表示桁
レジスタ42eにセットされている桁位置に基づき1週
間分の表示が終了したか否か判断される(ステップC
4,C5)。
Then, the date "1" initialized in the display data register 42c is written in the display RAM 26 in correspondence with the digit row position initialized in the display row and digit registers 42d and 42e in the step C2. It is displayed on the liquid crystal display unit 13 at this time. At this time, it is judged whether or not the display for one week is completed based on the digit position set in the display digit register 42e (step C).
4, C5).

【0092】この場合、前記表示桁レジスタ42eで示
される桁位置は水曜日の位置にあるので、1週間分の表
示は終了してないと判断され、前記表示データレジスタ
42cに記憶される日付が(+1)されて“2”に更新
される(ステップC5→C6)。
In this case, since the digit position indicated by the display digit register 42e is on Wednesday, it is determined that the display for one week has not been completed, and the date stored in the display data register 42c is ( +1) and updated to "2" (steps C5 → C6).

【0093】そして、前記表示桁レジスタ42eで示さ
れる桁位置が木曜日の位置に更新される(ステップC
7)。ここで、前記表示データレジスタ42cに記憶さ
れた次に表示すべき日付“2”と、前記最終日付レジス
タ42bに記憶された“陰暦1414年8月”の最終日
付日数“29”とが比較され、1カ月分のカレンダ表示
が終了したか否か判断される(ステップC8)。
Then, the digit position indicated by the display digit register 42e is updated to the Thursday position (step C).
7). Here, the date "2" to be displayed next, which is stored in the display data register 42c, is compared with the final date number "29" of "August 1414" stored in the final date register 42b. It is determined whether or not the calendar display for one month is completed (step C8).

【0094】この場合、前記表示データレジスタ42c
に記憶された次に表示すべき日付は“2”であり、表示
月“陰暦1414年8月”の最終日付日数“29”を越
えてないので、1カ月分のカレンダ表示は終了してない
と判断され、前記表示行及び桁レジスタ42d,42e
に設定された桁行位置(この場合、木曜日の桁に対応す
る第1週行目)に対応して、前記日付“2”が表示RA
M26に書込まれて液晶表示部13に表示される(ステ
ップC8→C4)。
In this case, the display data register 42c
The date to be displayed next, which is stored in, is "2", and since the last number of days of the displayed month "August 1414""29" has not been exceeded, the calendar display for one month has not ended. And the display row and column registers 42d and 42e.
The date "2" is displayed RA corresponding to the digit row position set in this case (in this case, the first week row corresponding to the digit of Thursday).
It is written in M26 and displayed on the liquid crystal display unit 13 (steps C8 → C4).

【0095】この後、前記ステップC4〜C8の処理が
繰返し実行されることで、表示桁レジスタ42eで示さ
れる曜日桁が更新されると共に、表示データレジスタ4
2cに記憶される次に表示すべき日付が更新され、金曜
日の桁位置に対応する第1週行目に日付“3”、土曜日
の桁位置に対応する第1週行目に日付“4”と、順次表
示RAM26に書込まれて液晶表示部13に表示される
もので、ここで、前記表示桁レジスタ42eで示される
桁位置が土曜日にあり、1週間分の表示終了と判断され
ると、前記表示行レジスタ42dで示される行位置が第
2週行目に更新される(ステップC5→C9)。
After that, the processes of steps C4 to C8 are repeatedly executed to update the day of the week digit indicated by the display digit register 42e and the display data register 4
The date to be displayed next, which is stored in 2c, is updated, and the date is "3" on the first week line corresponding to the digit position on Friday, and the date is "4" on the first week line corresponding to the digit position on Saturday. Then, the data is sequentially written in the display RAM 26 and displayed on the liquid crystal display unit 13. Here, if the digit position indicated by the display digit register 42e is Saturday, it is determined that the display for one week is completed. The row position indicated by the display row register 42d is updated to the second week row (steps C5 → C9).

【0096】これにより、“陰暦1414年8月”のカ
レンダが、前記表示行及び桁レジスタ42d,42eで
示されるカレンダ表示領域上の桁行位置に従って、各日
付毎に表示RAM26に書込まれ順次生成表示されるも
ので、この後、ステップC4において、水曜日の桁に対
応する第5週行目に日付“29”が表示された際に、ス
テップC6において、表示データレジスタ42cに記憶
された日付が“30”に更新されると、次に表示すべき
日付“30”が当月の最終日付日数“29”を越えるの
で、ステップC8において、1カ月分のカレンダ表示は
終了したと判断される。
As a result, the calendar of "August 1414" is written in the display RAM 26 for each date according to the position of the digit line on the calendar display area indicated by the display line and digit registers 42d and 42e, and is sequentially generated. After that, when the date “29” is displayed in the fifth week line corresponding to the digit of Wednesday in step C4, the date stored in the display data register 42c is displayed in step C6. When the date is updated to "30", the date "30" to be displayed next exceeds the final date number "29" of the current month, so that it is determined in step C8 that the calendar display for one month is completed.

【0097】これにより、前記西暦指定年月日“199
4年2月1日(火)”に対応する陰暦年月日“1414
年8月21(火)”が変換表示されると共に、該陰暦年
月日“1414年8月21(火)”の属する1カ月の陰
暦カレンダが表示されようになる。
As a result, the designated date of the year "199"
Lunar calendar date "1414" corresponding to "February 1st, 4th"
"August 21 (Tuesday)" is converted and displayed, and the lunar calendar of one month to which the lunar calendar date "Tuesday, 21st 1414" belongs is also displayed.

【0098】一方、前記太陰暦カレンダの実際の運用に
関しては、月が出たらその月の始まりにする等、月の運
行を肉眼で確認して行なわれるもので、原則として30
日と29日とから定められる各月毎の日数は、イスラム
の指導者等によって変更されることがある。
On the other hand, regarding the actual operation of the lunar calendar, the operation of the moon is visually confirmed such as starting the month when the moon comes out.
The number of days each month, which is defined by the day and the 29th, may be changed by Islamic leaders and the like.

【0099】ここで、前記陰暦月の日数が変更された場
合の前記太陰暦テーブル(図4参照)の訂正処理につい
て説明する。すなわち、キー入力部12における「訂
正」キー19を操作すると、太陰暦RAM24に記憶さ
れている太陰暦テーブルが表示RAM26に書込まれて
液晶表示部13に表示される。
Here, the correction processing of the lunar calendar table (see FIG. 4) when the number of days of the lunar calendar month is changed will be described. That is, when the “correction” key 19 in the key input unit 12 is operated, the lunar calendar table stored in the lunar calendar RAM 24 is written in the display RAM 26 and displayed on the liquid crystal display unit 13.

【0100】ここで、カーソルキー15の操作により、
日数変更の必要な陰暦年度の該当月をカーソル指示する
と共に、テンキー16の“0”又は“1”を操作して、
その日付データを書換え、再び前記「訂正」キー19を
操作すると、この日付データの書換えられた太陰暦テー
ブルが、前記太陰暦RAM24に対し新たに記憶される
ようになる。
Now, by operating the cursor key 15,
Point the cursor to the corresponding month of the lunar calendar year that requires changing the number of days, and operate the numeric keypad "0" or "1" to
When the date data is rewritten and the “correction” key 19 is operated again, the rewritten lunar calendar table of the date data is newly stored in the lunar calendar RAM 24.

【0101】これにより、任意の陰暦月の日付日数の訂
正が行なえるもので、この場合、訂正された陰暦月の日
付日数に応じて、前記陰暦変換用ワークRAM25a内
の陰暦基準全日数レジスタ41eで管理される第1の陰
暦基準日“1400年1月1日”に対応する全日数や第
2の陰暦基準日“1450年1月1日”に対応する全日
数が訂正される。
As a result, the number of days of the lunar calendar month can be corrected. In this case, the lunar calendar reference total number of days register 41e in the lunar calendar conversion work RAM 25a is corrected according to the corrected number of days of the lunar calendar month. The total number of days corresponding to the first lunar calendar base date "January 1, 1400" and the second lunar calendar base date "January 1, 1450" managed in 1. are corrected.

【0102】すなわち、前記太陰暦テーブルの訂正処理
において、例えば陰暦1400年1月未満に存在するあ
る月の日付日数が訂正された場合には、その訂正日数
(+1)又は(−1)に応じて、前記第1及び第2の陰
暦基準日に対応する各全日数が、共に(+1)又は(−
1)されて訂正され、また、例えば陰暦1400年1月
以降1450年1月未満に存在するある月の日付日数が
訂正された場合には、前記第2の陰暦基準日に対応する
全日数のみが(+1)又は(−1)されて訂正される。
That is, in the correction process of the lunar calendar table, for example, when the number of days in a month less than January 1400 in the lunar calendar is corrected, the number of correction days (+1) or (-1) is corrected. , The total number of days corresponding to the first and second lunar calendar reference dates are both (+1) or (-
1) corrected and, for example, when the number of days and days of a certain month existing from January 1400 to January 1450 is corrected, only the total number of days corresponding to the second lunar calendar reference day is corrected. Is corrected by (+1) or (-1).

【0103】これにより、前記太陰暦テーブル上の日付
日数に変更訂正があっても、前記図6における西暦/陰
暦の変換表示処理は正確に実行される。したがって、前
記構成のカレンダ表示装置によれば、カーソルキー15
や「月/日」キー17あるいは現西暦年月日レジスタ4
1bで管理される年月日データに応じて、液晶表示部1
3上で表示される太陽暦上の年月日が指定され「変換」
キー18が操作されると、ROM22に記憶された西暦
全日数最小値データ31b及び西暦全日数最大値データ
31cに基づき、前記西暦指定年月日までの全日数Xが
指定日全日数計算式31dに従って算出され、この算出
された西暦指定日までの全日数X及び陰暦基準全日数レ
ジスタ41eで前記西暦基準日に基づき管理される第1
及び第2の陰暦基準日に対応する全日数及び太陰暦RA
M24に記憶された陰暦上の年及び各月毎の日付日数を
示すテーブルデータに基づき、前記西暦指定日が対応す
る陰暦年月日に変換され液晶表示部13に表示されるの
で、前記西暦及び陰暦に対応付けた全日数の演算処理に
より、太陽暦の指定年月日を太陰暦の年月日に容易に変
換して表示できるようになる。
As a result, even if the number of days and days on the lunar calendar table is changed and corrected, the conversion display process of the western calendar / the lunar calendar in FIG. 6 is accurately executed. Therefore, according to the calendar display device having the above configuration, the cursor key 15
Or "Month / Day" key 17 or current year / month / day register 4
According to the date data managed by 1b, the liquid crystal display unit 1
The conversion date specified in the solar calendar displayed on 3 is specified.
When the key 18 is operated, the total number of days X up to the designated year / month / day is calculated based on the minimum date data 31b and maximum date data 31c stored in the ROM 22. According to the calculated total number of days X up to the designated day of the year, and the calculated lunar calendar standard total number of days register 41e
And the total number of days corresponding to the second lunar calendar base date and the lunar calendar RA
Based on the table data indicating the year on the lunar calendar and the number of days of each month stored in M24, the designated day of the year is converted to the corresponding lunar year and month and displayed on the liquid crystal display unit 13. By calculating the total number of days associated with the lunar calendar, the specified date of the solar calendar can be easily converted and displayed on the lunar calendar.

【0104】また、太陰暦RAM24に記憶された太陰
暦テーブル上の任意の年月に対応する日付日数は、「訂
正」キー19やカーソルキー15,テンキー16の組合
せ操作により必要に応じて訂正されるので、イスラム教
の指導等による陰暦日数の変更に応じて、容易に日付訂
正ができるようになる。
Since the number of days and days corresponding to an arbitrary year and month on the lunar calendar table stored in the lunar calendar RAM 24 is corrected as necessary by the combination operation of the "correction" key 19, the cursor key 15 and the ten key 16. The date can be easily corrected according to the change of the number of lunar days due to Islamic guidance.

【0105】さらに、陰暦基準全日数レジスタ41eで
西暦基準日に基づき管理される陰暦基準日の全日数は、
太陰暦RAM24に記憶される太陰暦テーブル上でサウ
ジ公式カレンダに応じて複数設定される第1及び第2の
陰暦基準日のそれぞれに対応して記憶されるので、西暦
/陰暦変換処理による日数データの演算処理に際して
は、西暦指定日までの全日数に最も近い陰暦基準日に対
応する全日数を活用して、高速に陰暦年月日への変換処
理ができるようになる。
Furthermore, the total number of days of the lunar calendar reference day managed by the lunar calendar reference total days register 41e based on the year reference date is:
The lunar calendar table stored in the lunar calendar RAM 24 is stored corresponding to each of the first and second lunar calendar reference dates set in accordance with the Saudi official calendar, so the calculation of the day number data by the western calendar / luenical calendar conversion processing is performed. At the time of processing, the conversion process to the lunar calendar date can be performed at high speed by utilizing the total number of days corresponding to the lunar calendar base date that is the closest to the total number of days until the designated day of the year.

【0106】そして、前記「訂正」キー19やカーソル
キー15,テンキー16の組合せ操作により、太陰暦R
AM24に記憶された太陰暦テーブルの任意の年月に対
応する日付日数が訂正された際には、前記陰暦基準全日
数レジスタ41eで管理される各陰暦基準日に対応する
全日数も前記訂正日数に応じて書換え訂正されるので、
イスラム教の指導等による陰暦日数の変更があっても、
将来に渡り正確な陰暦年月日への変換表示処理が実行で
きるようになる。
Then, the lunar calendar R is selected by the combination operation of the "correction" key 19, the cursor key 15 and the ten key 16.
When the number of days and days corresponding to an arbitrary year and month of the lunar calendar table stored in the AM 24 is corrected, the total number of days corresponding to each lunar calendar reference day managed by the lunar calendar reference total number register 41e is also the corrected number of days. It will be rewritten and corrected accordingly, so
Even if the number of lunar days is changed due to Islamic guidance,
It will be possible to execute accurate conversion display processing to the lunar calendar date in the future.

【0107】[0107]

【発明の効果】以上のように、本発明の第1のカレンダ
表示装置によれば、入力手段により入力もしくは選択さ
れた太陽暦の年月日に対応して、表示手段に太陰暦の年
月日が演算表示されるようになる。
As described above, according to the first calendar display device of the present invention, the lunar calendar date is displayed on the display means in correspondence with the solar calendar date input or selected by the input means. The calculation will be displayed.

【0108】また、本発明の第2のカレンダ表示装置に
よれば、第1の表示手段には、少なくとも1カ月の太陽
暦の年月日を含んだ太陽暦カレンダが表示され、また、
第2の表示手段には、前記太陽暦カレンダの中に表示さ
れる任意の年月日の1つに対応する太陰暦の年月日が属
する、少なくとも1カ月の太陰暦の年月日を含んだ太陰
暦カレンダが表示されるようになる。
Further, according to the second calendar display device of the present invention, the first display means displays a solar calendar including at least one month of the solar calendar, and
The second display means includes a lunar calendar including at least one lunar calendar date to which a lunar calendar date corresponding to one of the arbitrary calendar dates displayed in the solar calendar belongs. Will be displayed.

【0109】また、本発明の第3のカレンダ表示装置に
よれば、年月日指定手段により太陽暦上の任意の年月日
が指定されると、西暦基準日記憶手段に記憶された太陽
暦上の特定の基準年月日に対応する日数データに基づ
き、該指定年月日までの日数データが指定日日数演算手
段により算出され、この算出された太陽暦上の指定年月
日までの日数データ及び陰暦基準日記憶手段に記憶され
た太陽暦上の基準日に対応する陰暦上の特定年月日に対
応する日数データ及び太陰暦情報記憶手段に記憶された
陰暦上の年及び各月毎の日付日数に基づき、西暦/陰暦
変換手段により前記太陽暦上の指定年月日が対応する太
陰暦の年月日に変換され、陰暦表示手段により表示され
るので、日数データの演算処理を中心として、太陽暦の
指定年月日が太陰暦の年月日に変換表示されるようにな
る。
Further, according to the third calendar display device of the present invention, when an arbitrary date in the solar calendar is designated by the date designating means, the solar calendar stored in the western reference date storage means is displayed. Based on the number-of-days data corresponding to the specific reference date, the number-of-days data up to the designated date is calculated by the designated-day number calculating means, and the calculated number-of-days data on the solar calendar and the lunar calendar are calculated. Based on the number of days data corresponding to the specific date on the lunar calendar corresponding to the reference date on the solar calendar stored in the reference date storage means, and the date on the lunar calendar and each month stored in the lunar calendar information storage means The designated date on the solar calendar is converted to the corresponding date on the lunar calendar by the calendar / lunar calendar conversion means and displayed by the lunar calendar display means. Lunar calendar It will be converted displayed date.

【0110】また、本発明の第4のカレンダ表示装置に
よれば、前記第3のカレンダ表示装置にあって、その年
月日指定手段により指定される太陽暦上の年月日は、計
時手段により得られる現在情報に基づき指定されるの
で、太陽暦上の当日年月日に対応する陰暦年月日が容易
に変換表示されるようになる。
Further, according to the fourth calendar display device of the present invention, in the third calendar display device, the date on the solar calendar designated by the date designating means is measured by the time measuring means. Since the designation is made based on the obtained current information, the lunar calendar date corresponding to the current date on the solar calendar can be easily converted and displayed.

【0111】また、本発明の第5のカレンダ表示装置に
よれば、前記第3のカレンダ表示装置にあって、その年
月日指定手段により指定される太陽暦上の年月日は、キ
ー入力手段により指定されるので、太陽暦上の現在,過
去,未来それぞれ所望の年月日に対応する陰暦年月日が
容易に変換表示されるようになる。
According to the fifth calendar display device of the present invention, in the third calendar display device, the date on the solar calendar designated by the date designating means is the key input means. Since it is specified by, the lunar calendar date corresponding to the desired date in the solar calendar, the past, and the future are easily converted and displayed.

【0112】また、本発明の第6のカレンダ表示装置に
よれば、前記第3又は第4又は第5何れかのカレンダ表
示装置にあって、その陰暦表示手段により表示される西
暦/陰暦変換手段により得られた太陰暦の年月日は、該
陰暦年月日が属する月の太陰暦カレンダとして表示され
るようになる。
According to the sixth calendar display device of the present invention, in the calendar display device of any one of the third, fourth and fifth calendars, the year / early calendar conversion means displayed by the lunar calendar display means. The lunar calendar date obtained by is displayed as the lunar calendar of the month to which the lunar calendar date belongs.

【0113】また、本発明の第7のカレンダ表示装置に
よれば、前記第3又は第4又は第5又は第6何れかのカ
レンダ表示装置にあって、その太陰暦情報記憶手段に記
憶された太陰暦の任意の年月に対応する日付日数は、陰
暦月日数訂正手段により必要に応じて訂正されるので、
イスラム教の指導等による陰暦日数の変更に応じて、容
易に日付訂正が行なえるようになる。
Further, according to the seventh calendar display device of the present invention, in any of the third, fourth, fifth or sixth calendar display devices, the lunar calendar stored in the lunar calendar information storage means. The number of days and days corresponding to any year of is corrected by the lunar calendar month / day correction means, if necessary.
The date can be easily corrected according to the change of lunar days due to Islamic guidance.

【0114】また、本発明の第8のカレンダ表示装置に
よれば、前記第3又は第4又は第5又は第6又は第7何
れかのカレンダ表示装置にあって、その陰暦基準日記憶
手段に記憶される太陰暦上の特定の年月日に対応する日
数データは、太陰暦情報記憶手段に記憶される太陰暦の
複数の年の中で複数設定される特定年月日のそれぞれに
対応して記憶されるので、西暦/陰暦変換手段による日
数データの演算処理に際し、指定日日数演算手段により
算出された西暦指定年月日までの日数データに最も近い
陰暦上の特定年月日に対応する日数データを活用して、
高速に陰暦年月日への変換処理が行なえるようになる。
Further, according to the eighth calendar display device of the present invention, in the calendar display device of any one of the third, fourth, fifth, sixth or seventh, the lunar calendar reference date storage means is provided. The stored number-of-days data corresponding to a specific year / month / day in the lunar calendar is stored corresponding to each of the specific dates / times set in plural in the lunar calendar stored in the lunar calendar information storage means. Therefore, when calculating the number of days data by the year / lun calendar conversion means, the number of days data corresponding to the specific date on the lunar calendar that is closest to the number of days data up to the specified year / month / date calculated by the specified number of days / days calculation means is calculated. Utilize,
The conversion process to lunar calendar date can be performed at high speed.

【0115】また、本発明の第9のカレンダ表示装置に
よれば、前記第8のカレンダ表示装置にあって、陰暦月
日数訂正手段により太陰暦情報記憶手段に記憶された太
陰暦の任意の年月に対応する日付日数が訂正された際に
は、陰暦基準日数書換え手段により、陰暦基準日記憶手
段に記憶される太陰暦上の特定の年月日に対応する日数
データが前記訂正日数に応じて書換えられるので、イス
ラム教の指導等による陰暦日数の変更があっても、将来
に渡り正確な陰暦年月日への変換表示処理が行なえるよ
うになる。よって、本発明によれば、太陽暦(西暦)上
の年月日に対応して太陰暦(陰暦)上の年月日を表示す
ることが可能になる。
According to the ninth calendar display device of the present invention, in the eighth calendar display device, the lunar calendar information stored in the lunar calendar information storing means by the lunar calendar month / day correction means is set to an arbitrary year / month of the lunar calendar. When the corresponding number of date days is corrected, the lunar calendar reference day rewriting means rewrites the number of days data corresponding to a specific date in the lunar calendar stored in the lunar calendar reference day storage means according to the corrected number of days. Therefore, even if the number of lunar calendar days is changed due to Islamic guidance or the like, it will be possible to perform accurate conversion display processing to lunar calendar dates in the future. Therefore, according to the present invention, it is possible to display the date on the lunar calendar (the lunar calendar) corresponding to the date on the solar calendar (Western calendar).

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

【図1】本発明の一実施例に係わるカレンダ表示装置の
外観構成を示す正面図。
FIG. 1 is a front view showing an external configuration of a calendar display device according to an embodiment of the present invention.

【図2】前記カレンダ表示装置の電子回路の構成を示す
ブロック図。
FIG. 2 is a block diagram showing a configuration of an electronic circuit of the calendar display device.

【図3】前記カレンダ表示装置のROMにおける固定デ
ータの記憶状態を示す図。
FIG. 3 is a diagram showing a storage state of fixed data in a ROM of the calendar display device.

【図4】前記カレンダ表示装置の太陰暦RAMにおける
太陰暦テーブルの記憶状態を示す図。
FIG. 4 is a diagram showing a storage state of a lunar calendar table in a lunar calendar RAM of the calendar display device.

【図5】前記カレンダ表示装置のワークRAMにおける
各種ワークレジスタの構成を示す図であり、同図(A)
は陰暦変換用ワークRAMのレジスタ構成を示す図、同
図(B)はカレンダ表示用ワークRAMのレジスタ構成
を示す図。
FIG. 5 is a diagram showing a configuration of various work registers in a work RAM of the calendar display device.
Is a diagram showing the register configuration of the lunar calendar conversion work RAM, and FIG. 7B is a diagram showing the register configuration of the calendar display work RAM.

【図6】前記カレンダ表示装置による西暦/陰暦変換表
示処理を示すフローチャート。
FIG. 6 is a flow chart showing a process of displaying the conversion of the western calendar / the lunar calendar by the calendar display device.

【図7】前記カレンダ表示装置の西暦/陰暦変換表示処
理に伴なう陰暦テーブルの基準年ポインタセット処理を
示すフローチャート。
FIG. 7 is a flowchart showing a reference year pointer setting process of the lunar calendar table accompanying the calendar / lunar calendar conversion display process of the calendar display device.

【図8】前記カレンダ表示装置の西暦/陰暦変換表示処
理に伴なう太陰暦年月日の取得処理を示すフローチャー
ト。
FIG. 8 is a flowchart showing an acquisition process of the lunar calendar date associated with the conversion / display process of the calendar year / year on the calendar display device.

【図9】前記カレンダ表示装置の西暦/陰暦変換表示処
理に伴なう太陰暦カレンダの表示処理を示すフローチャ
ート。
FIG. 9 is a flowchart showing a display process of a lunar calendar that accompanies the conversion process of the year / luennical calendar on the calendar display device.

【図10】前記カレンダ表示装置の西暦/陰暦変換表示
処理に伴なう太陰暦カレンダの表示状態を示す図。
FIG. 10 is a diagram showing a display state of a lunar calendar that accompanies the conversion / display processing of the year / luennial calendar on the calendar display device.

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

11…装置本体、12…キー入力部、13…液晶表示
部、14a,14b…ON/OFFキー、15…カーソ
ルキー、16…テンキー、17…「月/日」キー、18
…「変換」キー、19…「訂正」キー、21…制御部、
22…ROM、23…計時回路、24…太陰暦RAM、
25…ワークRAM、25a…陰暦変換用ワークRA
M、25b…カレンダ表示用ワークRAM、26…表示
RAM、31a…西暦カレンダ日数テーブル、31b…
西暦全日数最小値データ、31c…西暦全日数最大値デ
ータ、31d…指定日全日数計算式、31e…曜日計算
式、31f…曜日データ、41a…計時レジスタ、41
b…現西暦年月日レジスタ、41c…指定年月日レジス
タ、41d…指定日全日数レジスタ、41e…陰暦基準
全日数レジスタ、41f…日数レジスタ、41g…陰暦
年月日レジスタ、41h…陰暦テーブル年ポインタ、4
1i…陰暦テーブル月カウンタ、42a…1日曜日レジ
スタ、42b…最終日付レジスタ、42c…表示データ
レジスタ、42d…表示行レジスタ、42e…表示桁レ
ジスタ。
11 ... Device main body, 12 ... Key input part, 13 ... Liquid crystal display part, 14a, 14b ... ON / OFF key, 15 ... Cursor key, 16 ... Ten key, 17 ... "Month / day" key, 18
... "Conversion" key, 19 ... "Correction" key, 21 ... Control unit,
22 ... ROM, 23 ... Timing circuit, 24 ... Lunar calendar RAM,
25 ... Work RAM, 25a ... Lunar calendar conversion work RA
M, 25b ... Calendar display work RAM, 26 ... Display RAM, 31a ... Calendar year number table, 31b ...
Western calendar all-day minimum value data, 31c ... Western calendar all-day maximum value data, 31d ... Designated day all-day calculation formula, 31e ... Day calculation formula, 31f ... Day data, 41a ... Clock register, 41
b ... Current year / month / date register, 41c ... Specified date / month register, 41d ... Specified day total days register, 41e ... Lunar calendar standard total day register, 41f ... Day number register, 41g ... Lunar calendar year / date register, 41h ... Lunar calendar table Year pointer, 4
1i ... Lunar calendar table month counter, 42a ... 1 Sunday register, 42b ... Last date register, 42c ... Display data register, 42d ... Display row register, 42e ... Display digit register.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 太陽暦の年月日を入力もしくは選択する
入力手段と、 この入力手段により入力された太陽暦の年月日に対応す
る太陰暦の年月日を演算する演算手段と、 この演算手段による演算結果を表示する表示手段と、を
具備したことを特徴とするカレンダ表示装置。
1. An input means for inputting or selecting the date of the solar calendar, a calculating means for calculating the lunar calendar date corresponding to the solar calendar date input by the input means, and the calculating means. A calendar display device comprising: a display unit that displays a calculation result.
【請求項2】 少なくとも1カ月の太陽暦の年月日を含
んだ太陽暦カレンダを表示する第1の表示手段と、 前記太陽暦カレンダの中に表示される任意の年月日の1
つに対応する太陰暦の年月日が属する少なくとも1カ月
の太陰暦の年月日を含んだ太陰暦カレンダを表示する第
2の表示手段と、を具備したことを特徴とするカレンダ
表示装置。
2. A first display unit for displaying a solar calendar including at least one month of the solar calendar, and an arbitrary date displayed in the solar calendar.
And a second display unit for displaying a lunar calendar containing the lunar calendar of at least one month to which the corresponding lunar calendar date belongs.
【請求項3】 基準日と定めた太陽暦上の特定の年月日
に対応する日数データを記憶する西暦基準日記憶手段
と、 太陽暦上の任意の年月日を指定する年月日指定手段と、 前記西暦基準日記憶手段に記憶された太陽暦上の特定の
年月日に対応する日数データに基づき、前記太陽暦上の
基準日から前記年月日指定手段により指定された太陽暦
上の任意の年月日までの日数データを算出する指定日日
数演算手段と、 前記太陽暦上の基準日に対応する太陰暦上の特定の年月
日に対応する日数データを記憶する陰暦基準日記憶手段
と、 太陰暦の年及びこの年における各月毎の日付日数を記憶
する太陰暦情報記憶手段と、 前記指定日日数演算手段により算出された太陽暦上の任
意年月日までの日数データ及び前記陰暦基準日記憶手段
により記憶された陰暦上の特定年月日に対応する日数デ
ータ及び前記太陰暦情報記憶手段に記憶された陰暦上の
年及び各月毎の日付日数に基づき、前記太陽暦上の任意
の年月日を対応する太陰暦の年月日に変換する西暦/陰
暦変換手段と、 この西暦/陰暦変換手段により得られた太陰暦の年月日
を表示する陰暦表示手段と、を具備したことを特徴とす
るカレンダ表示装置。
3. A reference date storing means for storing the number of days corresponding to a specific date on the solar calendar set as a reference date, and a date specifying means for designating an arbitrary date on the solar calendar. , Based on the day number data corresponding to a specific date in the solar calendar stored in the reference date storage means, any year in the solar calendar designated by the date specifying means from the reference date in the solar calendar A designated day number calculating means for calculating the number of days until month and day, a lunar calendar reference day storage means for storing the number of days data corresponding to a specific date in the lunar calendar corresponding to the reference day in the solar calendar, and a lunar calendar Lunar calendar information storage means for storing the year and the number of days in each month in this year, data for the number of days up to an arbitrary date on the solar calendar calculated by the specified number of days calculation means, and for storage by the lunar calendar reference day storage means The shade The lunar calendar year corresponding to any date on the solar calendar based on the number of days data corresponding to the above specific date and the lunar calendar information stored in the lunar calendar information storage means and the number of days per month. A calendar display device comprising: a calendar / indian calendar converting means for converting into a month / day, and a calendar / monthly date displaying means for displaying the date of the lunar calendar obtained by the calendar / indian calendar converting means.
【請求項4】 前記年月日指定手段は、計時手段により
得られる現在情報に基づき太陽暦上の年月日を指定する
ことを特徴とする請求項3記載のカレンダ表示装置。
4. The calendar display device according to claim 3, wherein the date designating unit designates a date on the solar calendar based on the current information obtained by the time counting unit.
【請求項5】 前記年月日指定手段は、キー入力手段に
より太陽暦上の年月日を指定することを特徴とする請求
項3記載のカレンダ表示装置。
5. The calendar display device according to claim 3, wherein the year / month / day specifying means specifies a year / month / day on the solar calendar by means of a key input means.
【請求項6】 前記陰暦表示手段は、前記西暦/陰暦変
換手段により得られた太陰暦の年月日が属する月の太陰
暦カレンダを表示することを特徴とする請求項3又は請
求項4又は請求項5何れか1項記載のカレンダ表示装
置。
6. The lunar calendar display means displays a lunar calendar calendar of the month to which the lunar calendar date obtained by the western calendar / luenical calendar conversion means belongs. 5. The calendar display device according to any one of 5 above.
【請求項7】 前記太陰暦情報記憶手段に記憶された太
陰暦の任意の年月に対応する日付日数を訂正する陰暦月
日数訂正手段をさらに備えたことを特徴とする請求項3
又は請求項4又は請求項5又は請求項6何れか1項記載
のカレンダ表示装置。
7. The lunar calendar month / day correction unit for correcting the number of days / days corresponding to an arbitrary year / month of the lunar calendar stored in the lunar calendar information storage unit is further provided.
Alternatively, the calendar display device according to any one of claims 4, 5, and 6.
【請求項8】 前記陰暦基準日記憶手段に記憶される太
陰暦上の特定の年月日に対応する日数データは、前記太
陰暦情報記憶手段に記憶される太陰暦の複数の年の中で
複数設定される特定年月日のそれぞれに対応して記憶さ
れることを特徴とする請求項3又は請求項4又は請求項
5又は請求項6又は請求項7何れか1項記載のカレンダ
表示装置。
8. A plurality of days data corresponding to a specific date on the lunar calendar stored in the lunar calendar reference date storage means is set among a plurality of lunar calendar years stored in the lunar calendar information storage means. The calendar display device according to any one of claims 3 or 4, claim 5, claim 6, or claim 7, wherein the calendar display device is stored in correspondence with each of the specific dates.
【請求項9】 前記陰暦月日数訂正手段により前記太陰
暦情報記憶手段に記憶された太陰暦の任意の年月に対応
する日付日数が訂正された際に、その訂正日数に応じ
て、前記陰暦基準日記憶手段に記憶される太陰暦上の特
定の年月日に対応する日数データを書換える陰暦基準日
数書換え手段をさらに備えたことを特徴とする請求項8
記載のカレンダ表示装置。
9. When the number of days of the lunar calendar stored in the lunar calendar information storage means is corrected by the number of lunar calendar month days correction means, the lunar calendar reference date is corrected according to the number of correction days. 9. The lunar calendar reference day number rewriting means for rewriting the number-of-days data corresponding to a specific date on the lunar calendar stored in the storage means is further provided.
The described calendar display device.
JP02937094A 1994-02-28 1994-02-28 Calendar display device Expired - Fee Related JP3674957B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02937094A JP3674957B2 (en) 1994-02-28 1994-02-28 Calendar display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02937094A JP3674957B2 (en) 1994-02-28 1994-02-28 Calendar display device

Publications (2)

Publication Number Publication Date
JPH07239840A true JPH07239840A (en) 1995-09-12
JP3674957B2 JP3674957B2 (en) 2005-07-27

Family

ID=12274270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02937094A Expired - Fee Related JP3674957B2 (en) 1994-02-28 1994-02-28 Calendar display device

Country Status (1)

Country Link
JP (1) JP3674957B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2006200104B2 (en) * 2005-05-12 2007-05-10 Cinc, Vic MR A method of determining a target event of a reoccurring event
JP2014006174A (en) * 2012-06-26 2014-01-16 Casio Comput Co Ltd Calendar display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2006200104B2 (en) * 2005-05-12 2007-05-10 Cinc, Vic MR A method of determining a target event of a reoccurring event
JP2014006174A (en) * 2012-06-26 2014-01-16 Casio Comput Co Ltd Calendar display device

Also Published As

Publication number Publication date
JP3674957B2 (en) 2005-07-27

Similar Documents

Publication Publication Date Title
US4573127A (en) Programmable electronic real-time load controller, and apparatus therefor, providing for updating of preset calendar events
GB2026736A (en) Calendar data display controller in electronic devices
JPH01307690A (en) World timepiece
JPH07239840A (en) Calender display device
US4428681A (en) Date display device
GB2040082A (en) Multi-function electronic digital watch
US5025427A (en) Electronic display device for displaying calendar information
JPS6037437B2 (en) calendar display device
JPH0862357A (en) Worship time display device
JPH01306962A (en) Schedule management device
JPH082701Y2 (en) Calendar display
JPS6040066B2 (en) Calendar information display method
JP3624428B2 (en) Calendar display device
JPH0143669Y2 (en)
JPH01306949A (en) Electronic apparatus with calendar function
JPS6232432B2 (en)
JP5970630B1 (en) Indefinite time clock
JPH0720634Y2 (en) Date data storage device
JPH02311788A (en) Moon data computing apparatus
JP3328814B2 (en) Timetable display device and timetable display control method
JPH052877Y2 (en)
JPS5935459B2 (en) Day of the week setting method
JPH0726761Y2 (en) Data storage
JP3569057B2 (en) Display scale variable linear clock
JPS5822719B2 (en) Tokeisouchi

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050322

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050412

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050425

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080513

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090513

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090513

Year of fee payment: 4

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100513

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110513

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110513

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120513

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120513

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130513

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees