摘要 |
PURPOSE:To calculate (recognize) a start time and a termination time set at a bit map type time schedule table without performing a bit operation. CONSTITUTION:A bit map type time schedule table 2 is constituted of a bit string of 144 bits while one bit is expressed by 10minutes unit, and the bit equivalent to a time zone between the set start time and the set termination time is 1. A character judging means 11 judges the classification by handling the bit string of the table 2 as the character in hexadecimal rotation by every 4 bits from the head. A start and end time calculating condition is registered in a calculating condition table 13 corresponding to the classification of the character. A calculating means 12 calculates the start time when the character by which the start time should be calculated hexadecimal digit C equivalent to a bit string 1100 or the like) is judged, and calculates the end time when the character by which the end time should be calculated (hexadecimal digit 3 equivalent to a bit string 0011 or the like) is judged, based on the character classification judged by the character judging means 11, and the content of the table 13. |