摘要 |
PURPOSE:To provide a schedule controller which automatically treats the next day in a holiday schedule pattern if a Sunday overlaps a holiday. CONSTITUTION:It is decided in a step S1 whether the relevant day is designated as a specific day or not. If so, the schedule of a specific day is set on a schedule data table in a step S2. Then the flag of a transferred holiday field is rewritten into '0' in a step S3. If the relevant day is not coincident with a specific day, it is decided in a step S4 whether the relevant day is designated as a holiday or not. If so, the schedule of a holiday is set on the schedule data table in a step S5. Furthermore it is decided in a step S6 whether today is Sunday or not. If so, the flag of the transferred holiday field is written into '1' in a step S7. If not, the flag of the transferred holiday fields is rewritten into '0' respectively. |