JPH0289152A - Number of days calculator for electronic apparatus - Google Patents

Number of days calculator for electronic apparatus

Info

Publication number
JPH0289152A
JPH0289152A JP63240485A JP24048588A JPH0289152A JP H0289152 A JPH0289152 A JP H0289152A JP 63240485 A JP63240485 A JP 63240485A JP 24048588 A JP24048588 A JP 24048588A JP H0289152 A JPH0289152 A JP H0289152A
Authority
JP
Japan
Prior art keywords
schedule
days
date
input
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63240485A
Other languages
Japanese (ja)
Inventor
Chieji Katou
加藤 千悦治
Shigeru Shindo
進藤 茂
Shiyouichi Kawai
河合 匠一
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP63240485A priority Critical patent/JPH0289152A/en
Publication of JPH0289152A publication Critical patent/JPH0289152A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Calculators And Similar Devices (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To use the number of days calculating device through simple operation by fetching the date of a schedule being indicated and the data at present from a time counting means into a processing part when a prescribed input is inputted from an inputting part. CONSTITUTION:A circuit 16 which counts the time and the data at present by real time according to a calendar as considering the time and data initialized by various kinds of inputting keys 3 to 8 to be a standard point is provided, and in the case where either of the schedule is indicated on an indicating part 2 by a schedule function, when the prescribed input is inputted from the inputting part 3 to 8, a CPU 11 fetches the date of the schedule being indicated and the date at present from the time counting means 16 and calculates the number of days to the date of the schedule from the date at present according to the calendar of the time counting of the schedule function, and indicates a calculated result by the indicating part 2. Thus, in the case where the schedule is indicated, the number of days can be calculated through simple operation without inputting the date.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、スケジュール機能等を有する電子機器におけ
る日数計算装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a number of days calculation device in an electronic device having a schedule function and the like.

〔従来の技術] 近年、計時機能やスケジュール機能等に基づき各種情報
管理を行うマイクロコンピュータシステムからなる手帳
型又はカード型の電子機器がビジネスマン等の間で大い
に普及している。
[Prior Art] In recent years, notebook-type or card-type electronic devices comprising microcomputer systems that manage various information based on timekeeping functions, schedule functions, etc. have become widely popular among businessmen and the like.

このような電子機器は、手帳型の見開きやカード型の板
面に、入力部として文字キーや数字キー、カーソルキー
及び各種機能キーが設けられ、出力部としてLCD (
液晶)等の表示装置が設けられている。また、内部には
、処理部としてCPU(中央処理装置)や記憶装置及び
RTC(IJアルタイムクロック)等を有し、記憶装置
内のプログラムに基づき入力部からの入力に従って、C
PUが各種処理を行うようになっている。
Such electronic devices are equipped with character keys, numeric keys, cursor keys, and various function keys as input sections on a notebook-type spread or card-type board, and an LCD (LCD) as an output section.
A display device such as a liquid crystal display is provided. Also, it has a CPU (Central Processing Unit), a storage device, an RTC (IJ real-time clock), etc. as a processing section, and according to the input from the input section based on the program in the storage device, the
The PU is designed to perform various processes.

従って、ユーザが所定の機能キーを押せば、計時機能に
より現在の日付や時刻を表示させたり、この計時機能が
有する暦に基づいて任意の月のカレンダを表示させるこ
とができる。また、他の機能キーを押してスケジュール
機能を起動すれば、数字キーや文字キー等の入力により
任意の日付でスケジュールを順次登録することができ、
このようにして登録された各スケジュールを日付順に並
び換えたり、これを呼び出し表示装置に表示させたりす
ることもできるようになる。
Therefore, when the user presses a predetermined function key, the current date and time can be displayed using the timekeeping function, or a calendar for any month can be displayed based on the calendar included in the timekeeping function. In addition, if you press another function key to start the schedule function, you can sequentially register schedules on any date by inputting number keys or letter keys.
It is also possible to rearrange the schedules registered in this way in order of date, and display them on the display device.

さらに、従来のこのような電子機器には、例えば海外出
張の出発予定日等の日付と現在の日付を入力すれば、計
時機能の暦に基づいて出発予定日までの日数を計算する
ことができるような日数計算機能を有するものもあった
Furthermore, conventional electronic devices such as this can calculate the number of days until the scheduled departure date based on the calendar of the timekeeping function by inputting the current date and a date such as the scheduled departure date for an overseas business trip. Some had a function to calculate the number of days.

〔発明が解決しようとする課題〕 ところが、このような日数計算機能は、数字キー等によ
り2つの日付の年月日をそれぞれ入力しなければならず
、操作が煩わしいものであった。
[Problems to be Solved by the Invention] However, such a number-of-days calculation function requires inputting the year, month, and day of two dates using numerical keys or the like, which is cumbersome to operate.

従って、従来の手帳型等の電子機器では、日数計算機能
があるにもかかわらず、操作が面倒であるために十分に
利用することができないという問題点を有していた。
Therefore, although conventional electronic devices such as notebook-type devices have a function to calculate the number of days, they have a problem in that they cannot be fully utilized because they are cumbersome to operate.

〔課題を解決するための手段〕[Means to solve the problem]

本発明に係る電子機器の日数計算装置は、上記課題を解
決するために、操作内容を入力する入力部と、この入力
に従って所定の処理を行う処理部と、この処理結果を表
示する表示部とを有し、少なくとも、暦に基づいて現在
の日付を計時する計時機能と、入力されたスケジュール
を指定の日付で登録し、呼び出しに応じてこのスケジュ
ールを表示部で表示させるスケジュール機能とが設けら
れた電子機器において、スケジュール機能によっていず
れかのスケジュールが表示されている場合に入力部から
所定の入力があると、表示されているスケジュールの日
付と計時手段からの現在の日付とを処理部に取り込む日
付取込手段と、この日付取込手段が2つの日付を処理部
に取り込むと、計時機能の暦に基づいて現在の日付から
スケジュールの日付までの日数を計算する日数計算手段
と、この計算手段が日数を計算すると、その計算結果を
表示部で表示させる日数表示手段とからなることを特徴
としている。
In order to solve the above-mentioned problem, an electronic device days calculation device according to the present invention includes an input section for inputting operation details, a processing section for performing predetermined processing according to the input, and a display section for displaying the processing results. It has at least a timekeeping function that measures the current date based on a calendar, and a schedule function that registers an input schedule with a specified date and displays this schedule on a display section in response to a call. In the electronic device, when any schedule is displayed by the schedule function and a predetermined input is received from the input section, the date of the displayed schedule and the current date from the time measurement means are taken into the processing section. a date importing means; a days calculation means for calculating the number of days from the current date to the schedule date based on the calendar of the timekeeping function when the date importing means imports two dates into the processing unit; The device is characterized by comprising a number of days display means for displaying the calculation result on a display unit when the number of days is calculated.

〔作 用〕[For production]

計時機能は、初期設定によって得た日付を基点とし暦に
基づいて現在の日付をリアルタイムで計時するものであ
る。この計時機能は、大の月や小の月、閏年等のデータ
からなる暦、又は、グレオリオ暦等に基づいてこれらを
計算する手段からなる暦を有し、現在のみならず過去又
は将来の日付を得ることもできる。スケジュール機能は
、ユーザが入力部から日付及びスケジュールの内容を入
力することにより登録を行う。そして、ユーザが入力部
の呼び出しキー等を操作した場合に、指定されたスケジ
ュールを表示部で表示する。また、スケジュール機能に
よる登録の際にも、モニタとしてこのスケジュールを表
示してもよい。
The time measurement function measures the current date in real time based on the calendar based on the date obtained through initial settings. This timekeeping function has a calendar consisting of data such as major months, minor months, leap years, etc., or a calendar consisting of a means to calculate these based on the Greorian calendar, etc., and can be used to measure not only the present but also past or future dates. You can also get The schedule function is registered by the user inputting the date and schedule contents from the input section. Then, when the user operates a call key or the like on the input section, the specified schedule is displayed on the display section. Furthermore, this schedule may be displayed as a monitor during registration using the schedule function.

日付取込手段は、このスケジュール機能によっていずれ
かのスケジュールが表示されている場合に入力部から所
定の入力があると、表示されているスケジュールの日付
と計時手段からの現在の日付とを処理部に取り込む。所
定の入力は、例えば本発明の一連の処理を行うための機
能キーを入力部に設けておき、ユーザがこの機能キーを
押すことにより実行されるようにすればよい。また、ス
ケジュールの表示時には使用しない他の目的のためのキ
ーを1又は2以上押すことにより、所定の入力がなされ
るようにしてもよい。
When a predetermined input is received from the input unit when any schedule is displayed by this schedule function, the date importing unit processes the date of the displayed schedule and the current date from the timekeeping unit. Incorporate into. The predetermined input may be performed by, for example, providing a function key on the input unit for performing a series of processes of the present invention and having the user press the function key. Furthermore, a predetermined input may be made by pressing one or more keys for other purposes that are not used when displaying the schedule.

なお、従来の日数計算装置は、上記2つの日付をそれぞ
れ入力部の数字キー等によって入力しなければならなか
った。
In addition, in the conventional number of days calculation device, each of the above two dates had to be inputted using the numeric keys or the like on the input section.

この日付取込手段が2つの日付を処理部に取り込むと、
日数計算手段が計時機能の暦に基づいて現在の日付から
スケジュールの日付までの日数を計算する。日数の計算
は、2つの日付が同年同月の場合には単なる減算によっ
て求めることができる。しかし、月をまたぐ場合には、
その間の月が大の月であるか小の月であるかの情報を暦
から得る必要がある。また、2月の末日を介する場合に
は、その年が閏年であるかどうかの情報も必要となる。
When this date importing means imports two dates into the processing section,
The number of days calculation means calculates the number of days from the current date to the schedule date based on the calendar of the timekeeping function. The number of days can be calculated by simple subtraction if the two dates are in the same year and month. However, if you cross the moon,
It is necessary to obtain information from the calendar as to whether the months in between are large or small. Furthermore, if the last day of February is used, information on whether the year is a leap year is also required.

この計算手段が日数を計算すると、日数表示手段がその
計算結果を表示部で表示させる。この際、日数を示す数
字と共に、上記2つの日付とこれらの間の日数を示す旨
のメツセージを併せて表示れば、ユーザにとって分かり
易いものとなる。また、スケジュール機能によって表示
されたスケジュールが過去のものであった場合には、表
示する日数にマイナス符号を付記する等によって現在ま
での経過日数を示すことができる。
When the calculation means calculates the number of days, the number of days display means displays the calculation result on the display section. At this time, if a message indicating the two dates and the number of days between them is displayed together with the number indicating the number of days, it will be easier for the user to understand. Furthermore, if the schedule displayed by the schedule function is from the past, the number of days that have passed up to the present can be indicated by adding a minus sign to the number of days displayed.

なお、上記日数計算手段と日数表示手段は、従来の日数
計算装置で用いたものと同様のものであってもよい。
Note that the number of days calculation means and the number of days display means may be the same as those used in conventional number of days calculation devices.

ここで、ユーザは、一般にスケジュール機能によるスケ
ジュールの登録や確認の際に日数計算の必要を生じるこ
とが多い。そして、この日数計算の初日は、はとんどが
現在の日付となる。従って、スケジュールを表示させた
際に、その日からスケジュールの登録されている日まで
の日数を本発明によって計算できるようになれば、日数
計算を行う必要があるほとんどの場合に、簡単な操作で
この日数を知り得ることになる。
Here, the user often needs to calculate the number of days when registering or confirming a schedule using the schedule function. The first day of this calculation of days is usually the current date. Therefore, when the schedule is displayed, if the present invention were to be able to calculate the number of days from that day to the day on which the schedule is registered, it would be possible to calculate the number of days with a simple operation in most cases where it is necessary to calculate the number of days. You will know the number of days.

〔実施例〕〔Example〕

本発明の一実施例を第1図乃至第5図の記載に基づいて
説明すれば、以下の通りである。
An embodiment of the present invention will be described below based on the descriptions in FIGS. 1 to 5.

本実施例は、いわゆる電子手帳と呼ばれる電子機器につ
いて示す。
This embodiment describes an electronic device called a so-called electronic notebook.

この電子機器は、第2図に示すように、本体1が二つに
折れて手帳状をなし、見開きが開閉自在となるように構
成されている。
As shown in FIG. 2, this electronic device is constructed such that the main body 1 is folded into two to form a notebook shape, and the two-page spread can be opened and closed.

そして、第3図に示すように、この見開きの左側上部に
表示部2が設けられている。表示部2はドツトマトリク
ス構成のLCDからなり、英数字及び仮名漢字等を複数
行表示できるようになっている。
As shown in FIG. 3, a display section 2 is provided at the upper left side of this double-page spread. The display section 2 consists of an LCD with a dot matrix structure, and is capable of displaying alphanumeric characters, kana, kanji, etc. in multiple lines.

この見開きの他の部分は、全てメンブレンスイッチから
なる入力部となっている。入力部には、見開き左側中央
部に機能キー3が配置されている。機能キー3は、各種
機能を実行するためのキーであり、カレンダキー3a、
スケジュールキー3b、日数計算キー3C1時計キー3
d及び呼出キー3e等が設けられている。カレンダキー
3aは、表示部2に一箇月分のカレンダを表示させるた
めのキーである。スケジュールキー3bは、スケジュー
ル機能を実行するためのキーである。日数計算キー3C
は、2つの日付間の日数を計算するためのキーである。
The other parts of this double-page spread are all input sections consisting of membrane switches. In the input section, a function key 3 is arranged at the center on the left side of the two-page spread. The function keys 3 are keys for executing various functions, and include calendar keys 3a,
Schedule key 3b, number of days calculation key 3C1 clock key 3
d, a call key 3e, etc. are provided. The calendar key 3a is a key for displaying one month's calendar on the display unit 2. The schedule key 3b is a key for executing a schedule function. Day calculation key 3C
is the key to calculate the number of days between two dates.

時計キー3dは、表示部2に現在の日付や時間を表示さ
せるためのキーである。呼出キー3eは、表示部2の画
面情報をその指定した方向に応じて切り換えるためのキ
ーである。
The clock key 3d is a key for displaying the current date and time on the display unit 2. The call key 3e is a key for switching the screen information on the display section 2 according to the specified direction.

見開きの左側における上記機能キー3の下方には、電源
の0N10FFを行う入キー4a及び切キー4b、入力
データのクリアや各種機能のモードを終了させるための
C−CEキー5並びに表示部2上のカーソルを移動させ
るカーソルキー6等が設けられている。また、見開きの
左側下部には、電卓機能のための数字キーや演算子キー
等からなる電卓キー7が設けられている。
Below the function keys 3 on the left side of the spread are an ON key 4a and an OFF key 4b for turning the power on and off, a C-CE key 5 for clearing input data and ending modes of various functions, and the top of the display section 2. A cursor key 6 for moving a cursor is provided. Furthermore, a calculator key 7 consisting of numeric keys, operator keys, etc. for calculator functions is provided at the lower left side of the double-page spread.

見開きの右側には、文字入力のための文字キーや変換キ
ー及び編集キー等からなる文字入カキ−8が全面に設け
られている。
On the right side of the two-page spread, character entry keys 8 consisting of character keys, conversion keys, editing keys, etc. for character input are provided over the entire surface.

上記電子機器の制御部の構成を第4図に基づいて説明す
る。
The configuration of the control section of the electronic device will be explained based on FIG. 4.

この制御部は、電子機器の本体1内に収納され、CPU
1lを中心としたマイクロコンピュータによって構成さ
れている。このCPUIIは、LCDドライバ12を介
して前記表示部2に接続している。LCDドライバ12
は、CPUIIからの指令に従って表示部2を駆動する
駆動回路である。また、このCPUIIには、I10ポ
ート13を介して前記各種入カキ−3〜8が接続されて
いる。従って、CPUIIは、I10ポート13のアド
レスによりいずれの入カキ−3〜8が押されたかを判別
することができる。
This control unit is housed in the main body 1 of the electronic device, and is
It is composed of a microcomputer centered around 1l. This CPU II is connected to the display section 2 via an LCD driver 12. LCD driver 12
is a drive circuit that drives the display section 2 according to commands from the CPU II. Further, the various input keys 3 to 8 are connected to the CPU II via the I10 port 13. Therefore, the CPU II can determine which input key 3 to 8 has been pressed based on the address of the I10 port 13.

電子機器の本体l内には、ROM14、RAM15及び
RTC16が配設され、それぞれ上記CPUIIに接続
されている。ROM14は、本電子機器の動作プログラ
ム及び各種データが格納された読み出し専用の記憶装置
である。RAM15は、各種入カキ−3〜8から入力さ
れたデータの記録やCPUIIの作業用に使用される読
み書き可能な記憶装置である。RTC16は、リアルタ
イムクロックであり、各種入力キー3〜8等によって初
期設定された日時を基点とし、暦に基づいて現在の日付
及び時刻をリアルタイムで計時する回路である。
A ROM 14, a RAM 15, and an RTC 16 are provided in the main body l of the electronic device, and each is connected to the CPU II. The ROM 14 is a read-only storage device that stores operating programs and various data for the electronic device. The RAM 15 is a readable and writable storage device used for recording data input from various input keys 3 to 8 and for working with the CPU II. The RTC 16 is a real-time clock, and is a circuit that measures the current date and time in real time based on a calendar, with the date and time initially set by the various input keys 3 to 8 as a base point.

電子機器の本体1内には、さらに電池17が収納され、
上記各回路に電源を供給するようになっている。また、
この電池17は、電子機器の電源OFF時にもRAM1
5をバックアップして、記憶内容を保持させるようにな
っている。
A battery 17 is further housed in the main body 1 of the electronic device,
Power is supplied to each of the above circuits. Also,
This battery 17 remains in RAM1 even when the power of the electronic device is turned off.
5 is backed up and the stored contents are retained.

上記構成の電子機器は、CPUI lがROM 14内
の動作プログラムに基づき入カキ−3〜8からの入力に
従って所定の処理を行い、この処理結果を表示部2に表
示させること等により、各種機能の実行を行う。
The electronic device having the above configuration can perform various functions by having the CPU I perform predetermined processing according to the input from the input keys 3 to 8 based on the operation program in the ROM 14, and displaying the processing results on the display section 2. Execute.

この電子機器における日数計算機能の具体的な動作を第
1図のフローチャートと第5図の表示例に基づいて説明
する。
The specific operation of the number of days calculation function in this electronic device will be explained based on the flowchart of FIG. 1 and the display example of FIG. 5.

スケジュールキー3bを押してスケジュールモードに入
ると、まずステップ(以下r3.という)1において、
RTC16より現在の日付を読み込み、次に、その日付
のスケジュールを検索して表示部2に表示させる(S2
)。例えば、当日が1989年1月1日の場合、第5図
(a)のように表示される。
When you press the schedule key 3b to enter the schedule mode, first in step (hereinafter referred to as r3.) 1,
The current date is read from the RTC 16, and then the schedule for that date is searched and displayed on the display unit 2 (S2
). For example, if the current day is January 1, 1989, the display will be as shown in FIG. 5(a).

当日のスケジュールが表示されると、日数計算キー30
が押されたかどうかの判断を行い(S3)、この日数計
算キー3cが押されていない場合には、引き続き呼出キ
ー3eが押されたかどうかの判断を行う(S4)。当日
のスケジュールが表示されている場合に日数の計算をし
ても意味がないので、最初は日数計算キー3cよりも先
に呼出キー3eが押されることになる。そこで、まず呼
出キー3eが押されると、その指定された方向に応じて
前日又は翌日のスケジュールを検索し、表示部2の表示
を新たに検索したスケジュールに書き換える(S5)、
そして、前日又は翌日のスケジュールが表示されると、
再びS3に戻るので、この83〜S5の処理を繰り返す
ことにより、目的のスケジュールを表示させることがで
きる。例えば、同年2月lO日の海外出張が目的のスケ
ジュールである場合、呼出キー3eの翌日方向を繰り返
し押すことにより、第5図(1))に示すような表示を
得ることができる。
When the schedule for the day is displayed, press the number of days calculation key 30.
It is determined whether or not has been pressed (S3), and if the number of days calculation key 3c has not been pressed, it is subsequently determined whether or not the call key 3e has been pressed (S4). Since there is no point in calculating the number of days when the schedule for the current day is displayed, the call key 3e is initially pressed before the number of days calculation key 3c. Therefore, when the call key 3e is first pressed, the schedule for the previous day or the next day is searched according to the specified direction, and the display on the display section 2 is rewritten to the newly searched schedule (S5).
Then, when the schedule for the previous day or the next day is displayed,
Since the process returns to S3 again, the desired schedule can be displayed by repeating the processes from 83 to S5. For example, if the target schedule is an overseas business trip on February 10 of the same year, by repeatedly pressing the next day direction of the call key 3e, a display as shown in FIG. 5(1) can be obtained.

なお、S4において呼出キー3eが押されなかった場合
には、スケジュールモードで使用する他の入カキ−3〜
8の検出を行う。そして、ここでいずれの入カキ−3〜
8も押されていなかったときには、S3に戻り、再びい
ずれかの入カキ−3〜8が押されるまで上記の処理を繰
り返すことになる。また、いずれかの入カキ−3〜8が
押された場合には、そのキーに対応する処理が実行され
ることになる。
Note that if the call key 3e is not pressed in S4, other input keys 3 to 3 used in the schedule mode are pressed.
8 is detected. And here, which oyster-3~
If 8 has not been pressed, the process returns to S3 and the above process is repeated until any of the input keys 3 to 8 is pressed again. Furthermore, if any of the input keys 3 to 8 is pressed, the process corresponding to that key will be executed.

目的のスケジュールが表示された状態で、S3において
日数計算キー3Cが押されると、まず表示スケジュール
の日付とRTC16から得た現在の日付をRAM15上
の所定のアドレス等にセットしくS6)、次に、これら
の日付に基づいて日数計算を行う(S7)。ここでの日
数の計算は、ROM14に格納された日数計算のための
プログラムルーチンを呼び出すことによって行われる。
When the number of days calculation key 3C is pressed in S3 with the target schedule displayed, first the date of the displayed schedule and the current date obtained from the RTC 16 are set to a predetermined address on the RAM 15 (S6), and then , the number of days is calculated based on these dates (S7). The calculation of the number of days here is performed by calling a program routine for calculating the number of days stored in the ROM 14.

そして、このルーチンは、プログラムとして構成された
暦に基づいて、2つの日付間の日数を計算する。
This routine then calculates the number of days between two dates based on a programmatically configured calendar.

S7において日数の計算が完了すると、表示部2をこの
計算結果の表示に書き換える(S8)。
When the calculation of the number of days is completed in S7, the display unit 2 is rewritten to display the calculation result (S8).

上記1月1日と2月10日の例では計算結果が40日と
なるので、表示部2には、第5図(c)に示すように、
この日数がメツセージと共に表示される、そして、この
日数の表示が行われると、再びS3に戻ってキー入力待
ちとなる。
In the above example of January 1st and February 10th, the calculation result is 40 days, so the display section 2 shows the following as shown in Fig. 5(c).
This number of days is displayed together with the message, and once this number of days has been displayed, the process returns to S3 and waits for a key input.

上記処理の結果、ユーザは、海外出張のスケジュールを
確認した際に、日数計算キー3cを押すという簡単な操
作を行うだけで、当日からその出発日までの日数を容易
に知ることができる。
As a result of the above processing, when the user confirms the schedule for an overseas business trip, the user can easily know the number of days from the current day to the departure date by simply performing the simple operation of pressing the number of days calculation key 3c.

また、上記日数計算例において、S4で前日方向に呼出
キー3eが押された場合には、例えば第511iN(d
)に示すように、前年の12月10日のスケジュールが
表示される。そして、この状態で日数計算キー3Cが押
されると、上記の例と同様に86及びS7の処理によっ
て日数の計算が行われる。ただし、この場合は、計算結
果がマイナスの値となるので、表示部2の表示は、第5
図(e)に示すように、日数にマイナス符号を付したも
のとなる。従って、ユーザは、先に表示したスケジュー
ルの日付から現在までの経過日数を知ることができる。
In the above example of calculating the number of days, if the call key 3e is pressed in the direction of the previous day in S4, for example, the 511iN(d
), the schedule for December 10th of the previous year is displayed. When the number of days calculation key 3C is pressed in this state, the number of days is calculated by the processes of 86 and S7 in the same manner as in the above example. However, in this case, the calculation result will be a negative value, so the display on the display section 2 will be
As shown in Figure (e), the number of days is given a minus sign. Therefore, the user can know the number of days that have passed since the date of the previously displayed schedule.

〔発明の効果〕〔Effect of the invention〕

本発明に係る電子機器の日数計算装置は、以上のように
、操作内容を入力する入力部と、この入力に従って所定
の処理を行う処理部と、この処理結果を表示する表示部
とを有し、少なくとも、暦に基づいて現在の日付を計時
する計時機能と、入力されたスケジュールを指定の日付
で登録し、呼び出しに応じてこのスケジュールを表示部
で表示させるスケジュール機能とが設けられた電子機器
において、スケジュール機能によっていずれかのスケジ
ュールが表示されている場合に入力部から所定の入力が
あると、表示されているスケジュールの日付と計時手段
からの現在の日付とを処理部に取り込む日付取込手段と
、この日付取込手段が2つの日付を処理部に取り込むと
、計時機能の暦に基づいて現在の日付からスケジュール
の日付までの日数を計算する日数計算手段と、この計算
手段が日数を計算すると、その計算結果を表示部で表示
させる日数表示手段とからなることを特徴としている。
As described above, the electronic device days calculation device according to the present invention includes an input section for inputting operation details, a processing section for performing predetermined processing according to the input, and a display section for displaying the processing results. , an electronic device that is equipped with at least a timekeeping function that measures the current date based on a calendar, and a schedule function that registers an input schedule with a specified date and displays this schedule on a display unit in response to a call. , when any schedule is displayed by the schedule function and a predetermined input is received from the input section, a date import function that imports the date of the displayed schedule and the current date from the timer into the processing section. a means for calculating the number of days from the current date to the schedule date based on the calendar of the timekeeping function; The device is characterized by comprising a number of days display means for displaying the calculation result on a display unit when the calculation is performed.

これにより、スケジュールが表示されている場合に、簡
単な操作を行うことによって、日付入力を行うことなく
容易に日数を計算することができるようになる。
As a result, when the schedule is displayed, the number of days can be easily calculated by performing a simple operation without inputting dates.

従って、本発明は、日数計算を必要とする際のほとんど
の場合に、簡単な操作で日数計算装置を利用することが
できるという効果を奏する。
Therefore, the present invention has the effect that the number of days calculation device can be used with simple operations in most cases when calculation of the number of days is required.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図乃至第5図は本発明の一実施例を示すものであっ
て、第1図は日数計算装置の動作を説明するためのフロ
ーチャート、第2図は日数計算装置を有する電子機器の
斜視図、第3図は電子機器の見開きの平面図、第4図は
電子機器における制御部のブロック図、第5図は電子機
器における表示部の表示例を示すものであって、同図(
a)〜(C)はそれぞれ将来のスケジュールについて日
数を計算した際の各表示を示す表示部の平面図、同図(
d)及び(e)はそれぞれ過去のスケジュールについて
日数を計算した際の各表示を示す表示部の平面図である
。 2は表示部、3〜8は人カキ−(入力部)、3bはスケ
ジュールキー、3Cは日数計算キー、3dは時計キー、
3eは呼出キー 11はcpu、16はRTCである。 窮4図 特許出願人     シャープ 株式会社第5図(a) 第5図(b) 第5図(c) 第5図(d) 第5図(e)
1 to 5 show an embodiment of the present invention, in which FIG. 1 is a flowchart for explaining the operation of the days calculation device, and FIG. 2 is a perspective view of an electronic device having the days calculation device. 3 is a two-page plan view of the electronic device, FIG. 4 is a block diagram of the control section in the electronic device, and FIG. 5 is a display example of the display section of the electronic device.
a) to (C) are plan views of the display section showing each display when calculating the number of days for the future schedule, respectively;
d) and (e) are plan views of the display unit showing respective displays when calculating the number of days for past schedules. 2 is the display section, 3 to 8 are the human keys (input section), 3b is the schedule key, 3C is the number of days calculation key, 3d is the clock key,
3e is a call key, 11 is a CPU, and 16 is an RTC. Figure 4 patent applicant Sharp Corporation Figure 5 (a) Figure 5 (b) Figure 5 (c) Figure 5 (d) Figure 5 (e)

Claims (1)

【特許請求の範囲】 1、操作内容を入力する入力部と、この入力に従って所
定の処理を行う処理部と、この処理結果を表示する表示
部とを有し、少なくとも、暦に基づいて現在の日付を計
時する計時機能と、入力されたスケジュールを指定の日
付で登録し、呼び出しに応じてこのスケジュールを表示
部で表示させるスケジュール機能とが設けられた電子機
器において、 スケジュール機能によっていずれかのスケジュールが表
示されている場合に入力部から所定の入力があると、表
示されているスケジュールの日付と計時手段からの現在
の日付とを処理部に取り込む日付取込手段と、この日付
取込手段が2つの日付を処理部に取り込むと、計時機能
の暦に基づいて現在の日付からスケジュールの日付まで
の日数を計算する日数計算手段と、この計算手段が日数
を計算すると、その計算結果を表示部で表示させる日数
表示手段とからなることを特徴とする電子機器の日数計
算装置。
[Claims] 1. It has an input section for inputting operation details, a processing section for performing predetermined processing according to the input, and a display section for displaying the processing results, and at least displays the current information based on the calendar. In an electronic device that is equipped with a timekeeping function that measures the date and a schedule function that registers an input schedule with a specified date and displays this schedule on the display section in response to a call, the schedule function allows one of the schedules to be displayed. is displayed and when a predetermined input is received from the input section, a date importing means imports the displayed schedule date and the current date from the clocking means into the processing section, and this date importing means When the two dates are input into the processing section, a days calculation means calculates the number of days from the current date to the schedule date based on the calendar of the timekeeping function, and when this calculation means calculates the number of days, the calculation result is displayed on the display section. 1. A number of days calculation device for an electronic device, comprising a number of days display means for displaying the number of days.
JP63240485A 1988-09-26 1988-09-26 Number of days calculator for electronic apparatus Pending JPH0289152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63240485A JPH0289152A (en) 1988-09-26 1988-09-26 Number of days calculator for electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63240485A JPH0289152A (en) 1988-09-26 1988-09-26 Number of days calculator for electronic apparatus

Publications (1)

Publication Number Publication Date
JPH0289152A true JPH0289152A (en) 1990-03-29

Family

ID=17060215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63240485A Pending JPH0289152A (en) 1988-09-26 1988-09-26 Number of days calculator for electronic apparatus

Country Status (1)

Country Link
JP (1) JPH0289152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5289393A (en) * 1991-08-06 1994-02-22 Sharp Kabushiki Kaisha Portable electronic apparatus
US5796397A (en) * 1994-11-04 1998-08-18 Sharp Kabushiki Kaisha Information processing device with input data sharing among several applications

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5289393A (en) * 1991-08-06 1994-02-22 Sharp Kabushiki Kaisha Portable electronic apparatus
US5796397A (en) * 1994-11-04 1998-08-18 Sharp Kabushiki Kaisha Information processing device with input data sharing among several applications

Similar Documents

Publication Publication Date Title
EP0427289B1 (en) Portable electronic financial calculator and planner
JPH07160459A (en) Electronic device
JPH0289152A (en) Number of days calculator for electronic apparatus
JPH0289153A (en) Number of days calculator for electronic apparatus
JPS5924361A (en) Display system of date
JP2791114B2 (en) Electronics
JP3456027B2 (en) Schedule management device
JPS63145566A (en) Schedule management equipment
JPH0895695A (en) Data input device
JP3194217B2 (en) Arithmetic device and arithmetic method
JPS60122459A (en) Electronic device
JP3743869B2 (en) Electronic computing device
JP3224880B2 (en) Data processing device and display control method
JPS61229149A (en) Electronic equipment
JPS6290744A (en) Classified-data storing device
JPH0624902Y2 (en) Kana keyboard input device
JPH0738995Y2 (en) Small computer
JPS63103359A (en) Desk-top electronic calculator
JPS63103363A (en) Desk-top electronic calculator
JPH0630089B2 (en) Electronic device
JPS60146355A (en) Electronic computer
JPS6356460U (en)
JPS61256380A (en) Small electronic type computer with graph display function
JPH01173253A (en) Computer
JPS61271558A (en) Sort-based memory device