JPH082701Y2 - Calendar display - Google Patents

Calendar display

Info

Publication number
JPH082701Y2
JPH082701Y2 JP1987057602U JP5760287U JPH082701Y2 JP H082701 Y2 JPH082701 Y2 JP H082701Y2 JP 1987057602 U JP1987057602 U JP 1987057602U JP 5760287 U JP5760287 U JP 5760287U JP H082701 Y2 JPH082701 Y2 JP H082701Y2
Authority
JP
Japan
Prior art keywords
holiday
calendar
date
key
mode
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.)
Expired - Lifetime
Application number
JP1987057602U
Other languages
Japanese (ja)
Other versions
JPS63164781U (en
Inventor
秀行 庄司
俊一 松本
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 JP1987057602U priority Critical patent/JPH082701Y2/en
Publication of JPS63164781U publication Critical patent/JPS63164781U/ja
Application granted granted Critical
Publication of JPH082701Y2 publication Critical patent/JPH082701Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

【考案の詳細な説明】 〔考案の技術分野〕 本考案はカレンダ表示を行うカレンダ表示装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a calendar display device for displaying a calendar.

〔従来技術〕[Prior art]

従来、年間のカレンダ表示を行うカレンダ表示装置が
知られている。このようなカレンダ表示装置において
は、キー操作等により利用者が自由に休日を設定できる
ようになっており、カレンダ表示の際には、平日と休日
が区別して表示されるようになっている。このようなカ
レンダ表示装置は、利用者が休日を自由に設定できるた
めに、年が変わる毎に休日を新しく指定すれば永久的に
カレンダとして使用できる利点があり、また、祭日、土
曜日、日曜日等の休日の他にも個人的な夏期休暇や年末
休暇等を、各個人の事情に応じて設定できる利点があ
る。
Conventionally, there is known a calendar display device that displays a calendar for a year. In such a calendar display device, the user can freely set holidays by key operation or the like, and during calendar display, weekdays and holidays are displayed separately. Since such a calendar display device allows the user to freely set holidays, it has the advantage that it can be permanently used as a calendar if a new holiday is specified each time the year changes, and that it can also be used as a holiday, Saturday, Sunday, etc. In addition to holidays, there is an advantage that personal summer vacations, year-end vacations, etc. can be set according to individual circumstances.

〔従来技術の問題点〕[Problems of conventional technology]

カレンダにおいては、毎年日付の曜日が変化するため
に、日曜日等の休日を新しく設定し直す必要が生じる。
従来のカレンダ表示装置の中には、このために年が変わ
ると自動的に休日指定を全て解除しているものがある。
このような、カレンダ表示装置では、前年の休日指定の
日付を平日に設定し直す操作は不要となる利点はある
が、国民の祭日等のように毎年休日となる日付も自動的
に平日に変更してしまうので、毎年国民の祭日の日付を
休日に指定する操作が必要となり操作効率の面で問題が
あった。また、その他の従来のカレンダ表示装置では休
日指定の解除は自動的に行っておらず、国民の祭日等の
日付の休日指定は一度設定すれば、以後設定し直す必要
がないという利点があるが、日曜日等のように毎年日付
が変わる休日を毎年平日に設定し直す必要が生じる。そ
のような休日の数も、年間を通すと多いことから、毎年
行うカレンダの休日指定の修正操作が煩雑になるという
問題点があった。
In the calendar, since the day of the week changes every year, it becomes necessary to newly set a holiday such as Sunday.
For this reason, some conventional calendar display devices automatically cancel all holiday designations when the year changes.
With such a calendar display device, there is an advantage that it is not necessary to reset the designated day of the holiday of the previous year to a weekday, but the date of every year's holiday such as national holidays is automatically changed to a weekday. As a result, the operation of designating national holidays as holidays is required every year, which is a problem in terms of operation efficiency. Further, other conventional calendar display devices do not automatically cancel the holiday designation, and there is an advantage that once the holiday designation for national holidays etc. is set, it is not necessary to reset it thereafter. , It becomes necessary to reset holidays whose dates change every year, such as Sunday, every weekday. Since the number of such holidays is large throughout the year, there has been a problem that the correction operation for holiday designation of the calendar performed every year becomes complicated.

このように、従来のカレンダ表示装置は、いずれも年
が変わる毎に行う休日設定の操作が煩雑で操作効率が悪
いという問題点があった。
As described above, the conventional calendar display devices have a problem in that the holiday setting operation performed each time the year changes is complicated and the operation efficiency is poor.

〔考案の目的〕[Purpose of device]

本考案は、上記従来の問題点に鑑み、所定時刻になる
と自動的に平日に変更される休日と、設定し直さない限
り毎年、休日として記憶される休日を区別して記憶でき
る便利なカレンダ表示装置を提供することを目的とす
る。
In view of the above-mentioned conventional problems, the present invention is a convenient calendar display device capable of separately storing a holiday that is automatically changed to a weekday at a predetermined time and a holiday that is stored as a holiday every year unless reset. The purpose is to provide.

〔考案の要点〕[Key points of device]

本考案は、上記目的を達成するために、月、日からな
る日付に対応させてその日付が過ぎた後に平日に変更さ
れる第一の休日データ及びその日付が過ぎても何等変更
されない第二の休日データのいずれかを設定し、この休
日データが設定された日付を休日として計時手段で計時
された月のカレンダを表示するようにしたことを要点と
するる。
In order to achieve the above-mentioned object, the present invention relates to a date consisting of a month and a day, the first holiday data that is changed to a weekday after that date, and the second holiday data that is not changed even after that date. The main point is that any of the holiday data of (1) is set, and the calendar for the month clocked by the clock means is displayed with the date on which the holiday data is set as a holiday.

〔実施例〕〔Example〕

以下、図面を参照しながら本考案の実施例を説明す
る。第1図は、本考案の一実施例の回路構成を示すブロ
ック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the circuit configuration of an embodiment of the present invention.

同図において、ROM3は後述するキー処理や計時処理を
行うマイクロプログラムやデータを内蔵している固定メ
モリである。ROMアドレス制御部4は、マイクロプログ
ラムの流れを規定するROM3のアドレスを制御するブロッ
クであり、ROM3のネクストアドレスを指定するROM3の出
力NA、および演算回路7の出力、後述するキー入力部1
1、分周回路12からの出力が入力されている。RAM5は、R
OM3のアドレスデータ出力SU、SLとF、FLで指定された
アドレスのデータを演算回路7の端子Fまたはラッチ回
路8に出力して、各々のデータが演算回路7で処理、加
工された結果を入力して記憶するメモリであり、その内
部構成は後述詳しく説明する。インストラクションデコ
ーダ6はROM3のインストラクション出力Insをデコード
して、各ブロックにコントロール信号を送るブロックで
ある。演算回路7は、S、Fを入力として算術論理演算
を行い、その出力をROM3の出力FU、FLで指定されRAM5の
アドレスに書き込む。ラッチ回路8は、ROM3の出力SU
SLで指定されたRAM5のアドレスの内容を一時的に記憶
し、演算回路7の入力Fと同期をとって他の入力Sに送
り込む。
In the figure, a ROM 3 is a fixed memory containing a microprogram and data for performing key processing and timekeeping processing described later. The ROM address control unit 4 is a block that controls the address of the ROM 3 that defines the flow of the microprogram. The output N A of the ROM 3 that specifies the next address of the ROM 3 and the output of the arithmetic circuit 7 and the key input unit 1 described later.
1, the output from the frequency divider circuit 12 is input. RAM5 is R
OM3 address data output S U, and output S L and F, the data of the address specified by F L to the terminal F or latch circuit 8 of the arithmetic circuit 7, the processing in each data calculation circuit 7, is processed It is a memory for inputting and storing the result, and its internal configuration will be described later in detail. The instruction decoder 6 is a block that decodes the instruction output Ins of the ROM 3 and sends a control signal to each block. Arithmetic circuit 7, S, performs arithmetic and logic operation as an input F, writes its output the output F U of ROM 3, the address of the RAM5 specified by F L. The latch circuit 8 outputs the output S U of ROM3,
The contents of the address of the RAM 5 designated by S L are temporarily stored and sent to another input S in synchronization with the input F of the arithmetic circuit 7.

発振器9は一定周期のクロック信号を出力し、タイミ
ングジェネレータ10は上記クロック信号を所定の周波数
まで分周して、各ブロックを時系列にコントロールする
タンミング信号を出力する。キー入力部11は、図示して
いないが、キーS1〜S4や透明キー21、22等のキーを有し
ており、上記キーの操作が行なわれると、そのキーに対
応するコード信号をROMアドレス制御部4に出力するブ
ロックである。分周回路12は発振器9からの出力を分周
するカウンタで、一定周期の計時信号を作成しており、
その計時信号は後述する計時処理等に使用される。
The oscillator 9 outputs a clock signal of a constant cycle, and the timing generator 10 divides the clock signal to a predetermined frequency and outputs a timing signal for controlling each block in time series. The key input unit 11 has keys such as keys S 1 to S 4 and transparent keys 21 and 22, which are not shown, and when the above keys are operated, a code signal corresponding to the keys is output. This block is output to the ROM address control unit 4. The frequency dividing circuit 12 is a counter that divides the output from the oscillator 9 and creates a clock signal of a constant cycle.
The timing signal is used for timing processing and the like described later.

表示部2は、RAM5内に格納された基本時刻や処理し終
わったデータを表示バッファ2aを介して表示する液晶素
子装置(LCD)等のブロックである。バスコントロール
ゲートA1、A2、B1、B2、C1〜C4、D1、D2はインストラク
シヨンデコーダ6の出力信号等に基づいて各バスライン
のデータの流れをコントロールするゲートである。
The display unit 2 is a block such as a liquid crystal device (LCD) that displays the basic time and the processed data stored in the RAM 5 via the display buffer 2a. The bus control gates A1, A2, B1, B2, C1 to C4, D1, and D2 are gates that control the data flow of each bus line based on the output signal of the instruction decoder 6 and the like.

次に、第2図(a)は前記RAM5の主要部を示す構成図
である。同図において、時刻計時レジスタTは基本時刻
の日付(年、月、日、曜日)及び時刻(時、分、秒)を
記憶するレジスタである。
Next, FIG. 2A is a configuration diagram showing a main part of the RAM 5. In the figure, a time counting register T is a register for storing the date (year, month, day, day of the week) and time (hour, minute, second) of the basic time.

また、MD1〜MD12は、それぞれ1月〜12月の日付デー
タを記憶する日付データ記憶域であり、各日付データ記
憶域MD1〜MD12は詳しくは第2図(b)に示すように1
日〜31日の各日付毎に設けられた日付レジスタDRを有し
ている。日付レジスタDRには、図示してはいないが1月
1日の日付レジスタDRから日付順にアドレスが指定され
ている。モードフラグMは時計表示モード、カレンダ表
示モード、カレンダ設定モードの各モードを記憶するフ
ラグであり、時計表示モード、カレンダ表示モード、カ
レンダ設定モードの各モードに応じて、それぞれ、
“0"、“1"、“2"を記憶する。時計表示モード(M=
0)においては、基本時刻の表示が、カレンダ表示モー
ド(M=1)においては、各月毎のカレンダ表示が行わ
れ、カレンダ設定モード(M=2)においては、過去に
なると自動的に消去される普通休日及びキー操作により
登録解消を行わない限り消去されない特定休日の登録を
行うことができる。
Further, MD 1 to MD 12 are date data storage areas for storing date data of January to December, respectively, and each of the date data storage areas MD 1 to MD 12 is shown in detail in FIG. 2 (b). To 1
It has a date register DR provided for each date from the 31st to the 31st. Although not shown, addresses are designated in the date register DR in order of date from the date register DR of January 1. The mode flag M is a flag that stores each mode of the clock display mode, the calendar display mode, and the calendar setting mode. According to each mode of the clock display mode, the calendar display mode, and the calendar setting mode,
Memorize "0", "1", "2". Clock display mode (M =
In 0), the basic time is displayed, in the calendar display mode (M = 1), the calendar display is performed for each month, and in the calendar setting mode (M = 2), it is automatically deleted in the past. It is possible to register regular holidays and specific holidays that are not deleted unless registration is canceled by key operation.

さらに、モードフラグFは前記カレンダ設定モード
(M=2)において、前記普通休日を登録する普通休日
登録モードと、前記特定休日を登録する特定休日登録モ
ードの各モードを記憶するフラグであり、普通休日登録
モードの時に“0"を、特定休日登録モードの時に“1"を
記憶する。
Further, the mode flag F is a flag for storing the normal holiday registration mode for registering the normal holiday and the specific holiday registration mode for registering the specific holiday in the calendar setting mode (M = 2). Store "0" in the holiday registration mode and "1" in the specific holiday registration mode.

次に、以上のような構成された本実施例の動作を第3
図乃至第5図のフローチャートを参照しながら説明す
る。
Next, the operation of the present embodiment configured as described above
This will be described with reference to the flowcharts of FIGS.

第3図は、ROM3に格納されたマイクロプログラムの制
御により行われるシステム全体の処理の流れを示すフロ
ーチャートである。
FIG. 3 is a flow chart showing the flow of processing of the entire system which is performed by the control of the microprogram stored in ROM3.

システムは、通常ホルト(HALT)状態にあり(ステッ
プa1)、キー入力部11からキー操作信号がROMアドレス
制御部4に出力されると、ステップa2でキー操作信号に
より操作されたキー判別を行い、操作されたキーに対応
する処理を行う。
The system is normally in the HALT state (step a 1 ) and when the key operation signal is output from the key input unit 11 to the ROM address control unit 4, the key operation signal is determined in step a 2 Then, the processing corresponding to the operated key is performed.

一方、上記ステツプa1で分周回路12から計時信号がRO
Mアドレス制御部4に出力されると、ステツプa3で計時
時刻レジスタTに記憶された基本時刻の更新等を行う計
時処理を行い、ステップa4で表示バッファ2aに格納され
た表示データを表示部2に表示する表示処理を行う。
On the other hand, at the above step a 1 , the clock signal from the frequency dividing circuit 12 is RO
When output to the M address controller 4 performs timing processing of updating or the like of the base time stored in the measured time register T in step a 3, display data stored in the display buffer 2a in Step a 4 Display processing for displaying on the unit 2 is performed.

第4図は、前記キー処理の詳細を示すフローチャート
であり、以下このフローチャートを参照しながらキー処
理の動作を説明する。
FIG. 4 is a flow chart showing the details of the key processing, and the operation of the key processing will be described below with reference to this flow chart.

まずステップb1でキーS1が操作されたかどうかの判別
を行い、キーS1が操作されていればステップb2でモード
フラグMの値が“0"であるかすなわち時計表示モード
(M=0)であるか判別する。そして、時計表示モード
(M=0)であればステップb3でモードフラグMに“1"
をセットし、ステップb4でカレンダー表示モード(M=
1)において表示する月のカレンダの表示データを作成
し表示バッファ2aに転送する。表示バッファ2aに格納さ
れた表示データは、第3図に示す前記ステップa4におい
て表示部2に表示される。
First performed whether the determination key S 1 is operated in step b 1, the key S 1 is the value of the manipulated mode in step b 2 if the flag M "0" at which either i.e. time display mode (M = It is determined whether it is 0). Then, the mode flag M in step b 3 if clock display mode (M = 0) "1"
Set the, calendar display mode in step b 4 (M =
Display data of the calendar of the month displayed in 1) is created and transferred to the display buffer 2a. Display data stored in the display buffer 2a is displayed on the display unit 2 in the step a 4 shown in Figure 3.

すなわち、時計表示モード(M=0)においてキーS1
を操作すると、カレンダ表示モード(M=1)に切り替
わり、時計表示モード(M=0)で表示されている月の
カレンダ表示が表示部2に表示される。第6図(a)
に、時計表示モード(M=0)における表示例を示す。
時計表示モード(M=0)においては、時刻計時レジス
タTに記憶された基本時刻の年データの下二桁、月デー
タ、日データ、時データ、分データ、秒データが表示さ
れ、同図(a)は時刻計時レジスタTに記憶されている
基本時刻1986年、12月1日、10時58分30秒の表示を示し
ている。
That is, in the clock display mode (M = 0), the key S 1
When is operated, the calendar display mode (M = 1) is switched to, and the calendar display of the month displayed in the clock display mode (M = 0) is displayed on the display unit 2. Figure 6 (a)
Shows a display example in the clock display mode (M = 0).
In the clock display mode (M = 0), the last two digits of the year data of the basic time stored in the timekeeping register T, month data, day data, hour data, minute data, and second data are displayed. a) shows the display of the basic time stored in the timekeeping register T at 10:58:30 on December 1, 1986.

そして、同図(a)に示すような時計表示モード(M
=0)においてキーS1を操作すると、同図(b)に示す
ようにカレンダ表示モード(M=1)に切り換わり、表
示部2に12月のカレンダ表示がなされる。同図(b)に
おいてDECはDecember(12月)を、S、M、T、W、
F、S、の各英字はそれぞれSunday(日曜日)、Monday
(月曜日)、Tuesday(火曜日)、Wednesday(水曜
日)、Thursday(木曜日)、Friday(金曜日)、Saturd
ay(土曜日)を示している。また、REGはRegister(登
録)を示している。表示部2には、複数の透明キー21、
22が配設され、なおかつプラスチック板20が覆設されて
おり、各透明キー21は表示部2に表示される日付に対向
する位置に、透明キー22はREGの表示に対向する位置に
設けられている。各透明キー21は、その下に表示されて
いる日付を入力する日付キーであり、透明キー22は、カ
レンダ設定モード(M=2)において特定休日登録モー
ド(M=2かつF=1)に切り換えるためのREGキーで
ある。以後、便宜上透明キー21を日付キー21、透明キー
22をREGキー22と記す。日付キー21、REGキー22を押下す
ると、押下げられた日付キー21、REGキー22に対応する
コードデータはキー入力部11を介し、ROMアドレス制御
部4に入力する。
Then, the clock display mode (M
= 0), the key S 1 is operated to switch to the calendar display mode (M = 1) as shown in FIG. 7B, and the calendar display for December is displayed on the display unit 2. In the figure (b), DEC is December (December), S, M, T, W,
The letters F and S are for Sunday and Monday, respectively.
(Monday), Tuesday (Tuesday), Wednesday (Wednesday), Thursday (Thursday), Friday (Friday), Saturd
indicates ay (Saturday). Further, REG indicates Register. A plurality of transparent keys 21,
22 is provided and the plastic plate 20 is covered, and each transparent key 21 is provided at a position facing the date displayed on the display unit 2, and the transparent key 22 is provided at a position facing the REG display. ing. Each transparent key 21 is a date key for inputting the date displayed below it, and the transparent key 22 is set to a specific holiday registration mode (M = 2 and F = 1) in the calendar setting mode (M = 2). This is the REG key for switching. After that, for the sake of convenience, the transparent key 21 is replaced with the date key 21 and the transparent key.
22 is referred to as REG key 22. When the date key 21 or REG key 22 is pressed, the code data corresponding to the pressed date key 21 or REG key 22 is input to the ROM address control unit 4 via the key input unit 11.

一方、上記ステップb2で時計表示モード(M=0)で
なければ、ステップb5でモードフラグMの値が1である
かすなわちカレンダ表示モード(M=1)であるかどう
か判別し、カレンダ表示モード(M=1)であればステ
ップb6でモードフラグMに“0"をセットしステップb7
時刻計時レジスタTに格納されている時刻データ(年、
月、日、時、分、秒)を表示バッファ2aに格納する。表
示バッファ2aに格納された時刻データは、前記ステップ
a4で表示部2に表示される。
On the other hand, unless the step b 2 by the clock display mode (M = 0), and determines whether the value of the mode flag M in step b 5 is 1 and is either i.e. calendar display mode (M = 1), Calendar display mode (M = 1) a long if the time data (year set to "0" in the mode flag M in step b 6 stored in the time counting register T in step b 7,
Store the month, day, hour, minute, second) in the display buffer 2a. The time data stored in the display buffer 2a is the same as the above step.
It is displayed on the display unit 2 at a 4 .

すなわち、第6図(b)に示すようなカレンダ表示モ
ード(M=1)においてキーS1を操作すると第6図
(a)に示す時計表示モード(M=0)に切り換わる。
That is, when the key S 1 is operated in the calendar display mode (M = 1) as shown in FIG. 6 (b), the mode is switched to the clock display mode (M = 0) as shown in FIG. 6 (a).

次に、上記ステップb1でキーS1が操作されていない場
合には、ステップb8でキーS2が操作されたかどうか判別
し、キーS2が操作されていればステップb9でモードフラ
グMの値が“1"すなわちカレンダ表示モード(M=1)
であるかを判別し、カレンダ表示モード(M=1)であ
ればステツプb10でモードフラグMに“2"を、モードフ
ラグFに“0"をセットし、ステップb11で表示部2上の
月表示を点滅表示とする。
Next, if the key S 1 is not operated in the above step b 1 , it is determined whether or not the key S 2 is operated in the step b 8 , and if the key S 2 is operated, the mode flag is determined in the step b 9. The value of M is "1", that is, the calendar display mode (M = 1)
Determination is made as to whether or not the calendar display mode "2" in the mode flag M in step b 10 if (M = 1) is, set to "0" in the mode flag F, the upper display unit 2 in step b 11 Blinks the month display of.

すなわち、第7図(a)に示すようなカレンダ表示モ
ード(M=1)においてキーS2を操作すると、第7図
(b)に示すようなカレンダ設定モード(M=2)の普
通休日登録モード(F=0)に切り換わり「DEC」が点
滅表示となる。
That is, when the key S 2 is operated in the calendar display mode (M = 1) as shown in FIG. 7 (a), the normal holiday registration in the calendar setting mode (M = 2) as shown in FIG. 7 (b) is performed. The mode is switched to mode (F = 0) and “DEC” flashes on and off.

一方、上記ステップb9でカレンダ表示モード(M=
1)でなれけば、ステップb12でモードフラグMの値が
“2"すなわちカレンダ設定モード(M=2)であるか判
別しカレンダ設定モード(M=2)であればステップb
13でモードフラグMに“1"をセットしステップb14でカ
レンダ表示を行う。カレンダ表示においては「月」及び
「REG」の表示が静止表示となる。
On the other hand, the calendar display mode in step b 9 (M =
The Ke becomes 1), if the step value of the mode flag M at b 12 is "2" or calendar setting mode (M = 2) and is either determined by the calendar setting mode (M = 2) Step b
Performing a calendar display in step b 14 sets "1" in the mode flag M at 13. In the calendar display, "month" and "REG" are displayed statically.

すなわち、例えば第7図(e)に示すようなカレンダ
設定モード(M=2)において、キーS2を操作すると第
7図(f)に示すようなカレンダ表示モード(M=1)
に切り換わる。
That is, for example, in the calendar setting mode (M = 2) shown in FIG. 7 (e), when the key S 2 is operated, the calendar display mode (M = 1) shown in FIG. 7 (f).
Switch to.

また、上記ステップb8でキーS2が操作されていなけれ
ば、ステップb15でREGキー22が操作されたかどうか判別
し、REGキー22が操作されていればステップb16でモード
フラグMの値が“2"であるか、すなわちカレンダ設定モ
ード(M=2)であるか判別し、カレンダ設定モード
(M=2)であればステップb17でモードフラグFに
“1"をセットし、ステップb18で表示部2に「REG」を点
滅表示する。
If the key S 2 is not operated in step b 8 , it is determined in step b 15 whether the REG key 22 is operated. If the REG key 22 is operated, the value of the mode flag M is determined in step b 16. or There is "2", i.e. to determine whether a calendar setting mode (M = 2), "1" is set to the mode flag F at step b 17 if calendar setting mode (M = 2), step flashing display "REG" is displayed on the display unit 2 in b 18.

すなわち、第7図(c)に示すような普通休日登録モ
ード(M=2かつF=0)においてREGキー22を押し下
げると、第7図(d)に示すような特定休日登録モード
(M=2かつF=1)に切り換わり、REGキー22が点滅
表示する。
That is, when the REG key 22 is depressed in the normal holiday registration mode (M = 2 and F = 0) as shown in FIG. 7C, the specific holiday registration mode (M = 2 and F = 1), and the REG key 22 blinks.

また、上記ステップb15でREGキー22が操作されていな
ければステップb19で日付キー21が操作されたかどうか
判別し、日付キー21が操作されていればステップb20
モードフラグMの値が“2"すなわちカレンダ設定モード
(M=2)であるか判別し、カレンダ設定モード(M=
2)であればステップb21でモードフラグFの値が“1"
すなわち特定休日登録モード(M=2かつF=1)であ
るか判別し、特定休日登録モード(M=2かつF=1)
であればステップb22で押下げられた日付キー21の指定
するRAM5内の日付レジスタDRに“2"をセットする。一
方、上記ステップb21で普通休日登録モード(M=2か
つF=0)であればステップb23で押下げられた日付キ
ー21の指定するRAM5内の日付レンジスタDRに“1"をセッ
トする。
Also, if REG key 22 has not been operated in step b 15 to determine whether the date key 21 is operated in step b 19, the value of the mode flag M in step b 20 if date key 21 is operated “2”, that is, it is determined whether the calendar setting mode (M = 2) is set, and the calendar setting mode (M =
The value of the mode flag F at step b 21 if 2) is "1"
That is, it is determined whether or not it is the specific holiday registration mode (M = 2 and F = 1), and the specific holiday registration mode (M = 2 and F = 1).
It is set to "2" to the date register DR in the RAM5 to specify the date key 21 pressed down in step b 22 long. On the other hand, "1" is set to the date Renjisuta DR in RAM5 specifying the date key 21 pressed down in step b 23 if ordinary holiday registration mode (M = 2 and F = 0) in step b 21 .

また、第7図(b)で示すような普通休日登録モード
(M=2かつF=0)において、3日と10日の日付キー
21を押下げると、第7図(c)に示すように3日と10日
の下にアンダーライン31の表示が行われる。また、第7
図(d)で示すように特定登録モード(M=2かつF=
1)において5日と20日の日付キー21を押下げると、第
7図(e)に示すように5日と20日の周囲に矩形32の枠
が表示される。
Also, in the normal holiday registration mode (M = 2 and F = 0) as shown in FIG. 7 (b), the date keys for the 3rd and 10th days
When 21 is pushed down, an underline 31 is displayed below the 3rd and 10th days as shown in FIG. 7 (c). Also, the seventh
Specific registration mode (M = 2 and F =
When the date key 21 on the 5th and 20th is depressed in 1), a rectangular frame 32 is displayed around the 5th and 20th as shown in FIG. 7 (e).

そして、前記ステップa4、b14でカレンダ表示を行な
う場合には、第7図(f)に図示するように、日付レジ
スタDRに“1"がセットされた普通休日の日付の表示の下
には第7図(c)と同様にアンダーライン31の表示を行
ない、日付レジスタDRに“2"がセットされた特定休日の
日付には第7図(e)と同様に矩形32(ロ)で囲んで夫
々普通休日及び特定休日が設定されていることを表示す
る。
Then, when the calendar display is performed in steps a 4 and b 14 , as shown in FIG. 7 (f), the date is displayed below the date of the ordinary holiday in which "1" is set in the date register DR. Shows an underline 31 as in FIG. 7 (c), and the date of a specific holiday in which “2” is set in the date register DR is indicated by a rectangle 32 (b) as in FIG. 7 (e). Show that the regular holiday and the specific holiday are set in the respective boxes.

また、上記ステップb19で日付キー21が押下げられて
いなければ、ステップb24でキーS1、キーS2、REGキー2
2、日付キー21以外のキーが操作された場合の処理を行
う。それらのキーの中には、キーS3、キーS4等がある。
この処理は、本考案の要部ではないので詳しい処理動作
の説明は省略するが、第7図によりキーS3、キーS4が操
作された場合の表示動作を説明すると、第7図(a)ま
たは(f)に示すようなカレンダ表示モード(M=1)
において、12月(DEC)のカレンダ表示が行われている
時にキーS3を操作すると第7図(g)に示す1987年の1
月(JAN)のカレンダ表示に切り換わり、さらにキーS3
を操作すると同図(h)に示す1987年の2月(FEB)の
カレンダ表示に切り換わる。このように、カレンダ表示
モード(M=1)においてキーS3を操作すると、12月→
1月→2月→…→11月→12月→…の順に未来方向へ各月
のカレンダ表示が行われる。一方、同図(h)に示す19
87年2月(FEB)のカレンダ表示の時に、キーS4を操作
すると1987年の1月(JAN)のカレンダ表示に切り換わ
り、さらにキーS4を操作すると1986年の12月(DEC)の
カレンダ表示に切り換わる。このように、カレンダ表示
モード(M=1)においてキーS4を操作すると、2月→
1月→12月→…→3月→2月→1月→…の順に過去の方
向へ各月のカレンダ表示が行われる。したがって、カレ
ンダ表示モード(M=1)においてキーS3、S4を操作す
ることにより所望の月のカレンダ表示を参照することが
できる。また、前述したように、カレンダ表示モード
(M=1)において、キーS2を操作すると、カレンダ設
定モード(M=2)の普通休日登録モード(F=0)に
切り換わるので、第7図(g)、(h)のカレンダ表示
モード(M=1)においてキーS2を操作するとそれぞれ
第7図(i)、(j)に示す普通休日登録モード(M=
2かつF=0)の表示となる。
Further, unless the date key 21 is depressed in step b 19, the key S 1 in step b 24, the key S 2, REG key 2
2. Perform processing when any key other than the date key 21 is operated. Among those keys are key S 3 , key S 4, etc.
Since this processing is not an essential part of the present invention, a detailed description of the processing operation will be omitted, but the display operation when the keys S 3 and S 4 are operated will be described with reference to FIG. ) Or (f) calendar display mode (M = 1)
If the key S 3 is operated while the calendar display of December (DEC) is being performed, the 1 of 1987 shown in Fig. 7 (g) is displayed.
Switch to calendar display for month (JAN), then press key S 3
When is operated, the calendar display for February 1987 (FEB) shown in (h) of the figure is displayed. In this way, when key S 3 is operated in the calendar display mode (M = 1), December →
The calendar display of each month is performed in the order of January → February → ... → November → December → ... in the future. On the other hand, 19 shown in FIG.
When the calendar display for February 1987 (FEB) is pressed, the key S 4 is operated to switch to the calendar display for January 1987 (JAN), and when the key S 4 is operated for December 1986 (DEC). Switch to calendar display. In this way, when the key S 4 is operated in the calendar display mode (M = 1), February →
Calendar is displayed for each month in the order of January → December →… → March → February → January →. Therefore, by operating the keys S 3 and S 4 in the calendar display mode (M = 1), the calendar display of the desired month can be referred to. Further, as described above, when the key S 2 is operated in the calendar display mode (M = 1), the mode is switched to the normal holiday registration mode (F = 0) of the calendar setting mode (M = 2). When the key S 2 is operated in the calendar display modes (M = 1) of (g) and (h), the normal holiday registration mode (M =
2 and F = 0) is displayed.

次に、第5図は、前記ステップa3の計時処理の詳細を
示すフローチャートである。以下、第5図を参照しなか
ら計時処理の動作を説明すると、まずステップc1で時刻
計時レジスタTに記憶された基本時刻1/16秒を加算し、
次にステップc2で基本時刻に日キャリーが生じたか、す
なわち基本時刻が日替りしたかどうか判別する。そし
て、日替りが生じていれば、前日の日付レジスタDRの値
が“1"であるかどうか判別し、“1"であればその日付レ
ジスタDRの値を0にクリアする。したがって、日付レジ
スタDRに“1"がセットされている普通休日は、その日が
過去になると自動的にその日付レジスタDRの値が“0"に
クリアされるので、平日となる。
Next, FIG. 5 is a flowchart showing details of a time measurement processing at step a 3. The operation of the timekeeping process will be described below with reference to FIG. 5. First, at step c 1 , the basic time 1/16 seconds stored in the timekeeping register T is added,
Then either the basic time day carry has occurred in step c 2, i.e. to determine whether the basic time is day instead. Then, if the day change occurs, it is determined whether or not the value of the date register DR of the previous day is "1", and if "1", the value of the date register DR is cleared to 0. Therefore, an ordinary holiday in which "1" is set in the date register DR becomes a weekday because the value of the date register DR is automatically cleared to "0" when the day is in the past.

以上のように、キーS1の操作により時計モード(M=
0)、カレンダ表示モード(M=1)の選択が可能であ
り、時計モード(M=0)において、基本時刻の参照
が、カレンダ表示モード(M=1)において、キーS3
S4の操作により所望の月のカレンダを参照することがで
きる。そして、カレンダ表示モード(M=1)で所望の
月のカレンダ表示を選択し、キーS2を操作してカレンダ
設定モード(M=2)に切り換えることにより休日の登
録が可能となる。カレンダ設定モードに切り換えた直後
は、普通休日登録モード(M=2かつF=0)となり日
付キー21を押下げることにより、所望の日付を普通休日
に設定することができる。各日付キー21には、直接日付
が表示されるので、日付の選択は容易に行える。また、
特定休日を設定したい場合には普通休日登録モード(M
=2かつF=0)においてREGキー22を押下げし、特定
休日登録モード(M=2かつF=1)に切り換える。そ
して、普通休日登録モード(M=2かつF=0)と同様
にして日付キー21を押下げすることにより、所望の日付
を特定休日に設定することができる。普通休日は、過去
になると自動的に平日に変更になり、特定休日は設定変
更しない限り休日のままなので、日曜日等のように毎年
日付が変更する休日を普通休日として、祭日のように毎
年日付が一定な休日を特定休日として区別して登録する
ことにより、毎年行なうカレンダの変更は新たに日曜日
の日付を普通休日に登録するだけでよく、従来のカレン
ダ表示装置に比較してカレンダ変更の操作が非常に簡単
になる。
As described above, by operating the key S 1 , the clock mode (M =
0) and calendar display mode (M = 1) can be selected. In the clock mode (M = 0), the reference of the basic time is made by the key S 3 in the calendar display mode (M = 1).
The calendar of a desired month can be referred to by the operation of S 4 . Then, by selecting the calendar display of a desired month in the calendar display mode (M = 1) and operating the key S 2 to switch to the calendar setting mode (M = 2), holiday registration becomes possible. Immediately after switching to the calendar setting mode, the ordinary holiday registration mode (M = 2 and F = 0) is entered and the desired date can be set to the ordinary holiday by pressing down the date key 21. Since the date is directly displayed on each date key 21, the date can be easily selected. Also,
If you want to set a specific holiday, use the regular holiday registration mode (M
= 2 and F = 0), the REG key 22 is pressed to switch to the specific holiday registration mode (M = 2 and F = 1). By depressing the date key 21 in the same manner as in the normal holiday registration mode (M = 2 and F = 0), the desired date can be set as the specific holiday. Ordinary holidays are automatically changed to weekdays in the past, and specific holidays remain as holidays unless the settings are changed.Therefore, holidays whose dates change every year, such as Sunday, are treated as ordinary holidays, and dates are changed every year such as national holidays. By registering certain holidays as specific holidays, you can change the calendar every year simply by newly registering the date on Sunday as a regular holiday, and the calendar change operation is easier than the conventional calendar display device. It will be very easy.

尚、普通休日の平日への自動変更は、上記実施例に限
定されず、年が換わった時点で行ってもよく変更の時期
は任意の時刻に設定することが可能である。
The automatic change of a normal holiday to a weekday is not limited to the above embodiment, and may be performed when the year changes, and the change time can be set to an arbitrary time.

また、表示態様も上記実施例に限定されず、例えば日
付の表示の際にも平日、休日の種類に応じて日付の表示
色を変化させて平日、休日の種類を区別できるようにし
てもよい。
Further, the display mode is not limited to the above embodiment, and for example, even when displaying the date, the display color of the date may be changed according to the type of weekday or holiday so that the type of weekday or holiday can be distinguished. .

〔考案の効果〕[Effect of device]

以上、詳細に説明したように本考案によれば、休日を
2種類の休日に区別して設定し、一方の休日のみが所定
時刻になると自動的に平日に変更されるように設定させ
ることができるため、祭日のように毎年日付が一定であ
る休日と日曜日等のような毎年日付が変化する休日とを
区別して設定することにより、毎年行うカレンダの休日
登録の操作を効率よく行うことができる。
As described above in detail, according to the present invention, it is possible to set holidays to be classified into two types of holidays, and to set the holidays to be automatically changed to weekdays when only one holiday reaches a predetermined time. Therefore, by separately setting holidays whose dates are constant every year such as national holidays and holidays whose dates change every year such as Sunday, it is possible to efficiently perform calendar holiday registration operations that are performed every year.

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

第1図は、本考案の一実施例の回路構成を示すブロック
図、 第2図(a)は、RAM5の主要部の構成図、 第2図(b)は、日付データ記憶域MD1〜MD12の構成
図、 第3図は、システム全体の処理の流れを示すフローチャ
ート、 第4図は、キー処理の詳細を示すフローチャート、 第5図、計時処理のフローチャート、 第6図、第7図は、本実施例の表示動作を説明する図、 3……ROM、4……ROMアドレス制御部、5……RAM、6
……インストラクションデコーダ、7……演算回路、9
……発振器、11……キー入力部、12……分周回路、DR…
…日付レジスタ、F、M……モードフラブ、MD1、MD12
……日付データ記憶域。
Figure 1 is a block diagram showing a circuit configuration of an embodiment of the present invention, FIG. 2 (a) is a block diagram of the main part of the RAM 5, FIG. 2 (b), the date data storage MD 1 ~ MD 12 configuration diagram, FIG. 3 is a flow chart showing a flow of processing of the entire system, FIG. 4 is a flow chart showing details of key processing, FIG. 5, flow chart of timing processing, FIG. 6, FIG. Are views for explaining the display operation of the present embodiment, 3 ... ROM, 4 ... ROM address control section, 5 ... RAM, 6
...... Instruction decoder, 7 ...... Arithmetic circuit, 9
…… Oscillator, 11 …… Key input section, 12 …… Dividing circuit, DR…
… Date register, F, M… Mode flab, MD 1 , MD 12
...... Date data storage area.

フロントページの続き (56)参考文献 特開 昭53−64071(JP,A) 実開 昭50−69164(JP,U)Continuation of the front page (56) References JP-A-53-64071 (JP, A) Actually developed, 50-69164 (JP, U)

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】少なくとも月、日を含む基本時刻を計時す
る計時手段と、 月のカレンダを表示するカレンダ表示手段と、 カレンダ設定モードにおいて前記カレンダ表示手段に表
示された月のカレンダの日付を指定する日付指定手段に
よって指定された日付に年が変ると休日でなくなる第一
の休日データ又は年が変わっても休日のままである第二
の休日データを設定する休日設定手段と、 前記計時手段で計時された月のカレンダを前記カレンダ
表示手段に表示するときに前記休日設定手段によって前
記第一の休日データ又は前記第二の休日データが設定さ
れた日付を休日として表示する表示制御手段と、 前記休日設定手段による前記第一の休日データの設定を
この第一の休日データに対応する日付が過ぎた後に解除
し、前記休日設定手段による前記第二の休日データの設
定をこの第二の休日データに対応する日付が過ぎても保
持する休日設定変更手段と、 を具備したことを特徴とするカレンダ表示装置。
1. A clocking means for clocking a basic time including at least a month and a day, a calendar displaying means for displaying a calendar of the month, and a calendar date of the month displayed on the calendar displaying means in a calendar setting mode. Holiday setting means for setting the first holiday data that is not a holiday when the year changes to the date designated by the date designating means or the second holiday data that remains a holiday even if the year changes, and the timekeeping means Display control means for displaying the date when the first holiday data or the second holiday data is set as a holiday by the holiday setting means when displaying the calendar of the clocked month on the calendar display means, and The setting of the first holiday data by the holiday setting means is canceled after the date corresponding to the first holiday data has passed, and the holiday setting means is used. A calendar display device comprising: holiday setting changing means for holding the setting of the second holiday data even after the date corresponding to the second holiday data has passed.
JP1987057602U 1987-04-15 1987-04-15 Calendar display Expired - Lifetime JPH082701Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987057602U JPH082701Y2 (en) 1987-04-15 1987-04-15 Calendar display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987057602U JPH082701Y2 (en) 1987-04-15 1987-04-15 Calendar display

Publications (2)

Publication Number Publication Date
JPS63164781U JPS63164781U (en) 1988-10-27
JPH082701Y2 true JPH082701Y2 (en) 1996-01-29

Family

ID=30887461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987057602U Expired - Lifetime JPH082701Y2 (en) 1987-04-15 1987-04-15 Calendar display

Country Status (1)

Country Link
JP (1) JPH082701Y2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5745599Y2 (en) * 1973-10-23 1982-10-07
JPS5364071A (en) * 1976-11-19 1978-06-08 Citizen Watch Co Ltd Calendar device requiring no correction at month end

Also Published As

Publication number Publication date
JPS63164781U (en) 1988-10-27

Similar Documents

Publication Publication Date Title
US4774697A (en) Electronic timepiece including a schedule memory device
JPH082701Y2 (en) Calendar display
JP2984770B2 (en) Electronic clock
JP3135971B2 (en) Electronic time switch
JPH0720634Y2 (en) Date data storage device
JPH0511515Y2 (en)
JPH0726760Y2 (en) Alarm time data storage device
JP2549454Y2 (en) Data bank device
JPH0615313Y2 (en) Data storage device
JP2513600Y2 (en) Data bank device
JPH0726761Y2 (en) Data storage
JPS6040066B2 (en) Calendar information display method
JPH052877Y2 (en)
JPH0394194A (en) Timepiece with summer time function
JP3569057B2 (en) Display scale variable linear clock
JPH0434477Y2 (en)
JPH0337760A (en) Electronic equipment
JPH07239840A (en) Calender display device
JPH03120496A (en) Information processor
JPS6258191A (en) Apparatus for displaying schedule
JPS62272179A (en) Electronic timepiece with date data storage function
JPS62127965A (en) Schedule input device
JPS5935459B2 (en) Day of the week setting method
JPH05172967A (en) Date display device
JPH0214745B2 (en)