摘要 |
PURPOSE:To execute an accurate calculation of accounting and to display a substitute holiday in a timepiece provided with holiday-display, etc., by deciding the current day as a sbstitution holiday if the current day data is a Monday-data and one-day-preceeding day-data is a holiday-data. CONSTITUTION:A given date and day of the week are read and written in a register, and whether it is a sunday or not is decided. Then decision whether it is a Mondy or not is decided. If it is Monday, one day is subtracted, and the result is compared with a holiday-data, if they agree with each other, the current day is decided to be a holiday (rate discount day). In such a way, a decision on a substitution holiday is made possible, and a more accurate calculation is made able for accounting. Also, this invention can be applied not only for accounting but for a timepiece provided with holiday-display, automatic electronic calender, or automatic calender generator, etc. |