Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Clarifications for Assignment 2

1 of 390 articles shown, currently no other people reading this forum.
photo
From: David M.
Date: Fri 22nd May, 6:24pm
Actions: 
        Login-to-reply

 

My interpretation of the calendar files is that each record in calendar.txt
flags the days of the week when that service normally operates - columns 2 to 8.
They are always weekdays (i.e. flags 1,1,1,1,1,0,0) or Saturday (flags
0,0,0,0,0,1,0) or Sunday (flags 0,0,0,0,0,0,1).

However, the availabilility of services is modified by exceptions given in 
calendar_dates.txt:

If the exception code is 2 then that normal service, as specified in calendar.txt,
does not operate on that date.

If the exception code is 1 then that service is available on the that date instead
of the normal service.

The above is my interpretation and it seems to work for various weekdays, Saturdays,
Sundays and public holidays that I tested.

Related articles

Clarifications for Assignment 2 (all 41) RSS
├─ original   Fri 8th May, 5:32pm, Jichunyang L.
├─ reply 1   Sun 10th May, 11:18am, Christopher M.
├─ reply 2   Wed 13th May, 9:55am, Jichunyang L.  O.P.
├─ reply 3   Wed 13th May, 10:58am, Jichunyang L.  O.P.
├─ reply 4   Wed 13th May, 3:44pm, Christopher M.
├─ reply 5   Wed 13th May, 4:13pm, Jichunyang L.  O.P.
├─ reply 6   Wed 13th May, 4:23pm, Christopher M.
├─ reply 7   Fri 15th May, 3:11pm, Jichunyang L.  O.P.
├─ reply 8   Fri 15th May, 5:12pm, Christopher M.
├─ reply 9   Mon 18th May, 9:08am, Jichunyang L.  O.P.
├─ reply 10   Mon 18th May, 10:39am, Christopher M.
├─ reply 11   Mon 18th May, 12:51pm, Jichunyang L.  O.P.
├─ reply 12   Mon 18th May, 5:09pm, Jichunyang L.  O.P.
├─ reply 13   Mon 18th May, 5:38pm, Christopher M.
├─ reply 14   Fri 22nd May, 9:54am, Jichunyang L.  O.P.
├─ reply 15   Fri 22nd May, 10:02am, Christopher M.
├─ reply 16   Fri 22nd May, 12:12pm, Lee dB.
├─ reply 17   Fri 22nd May, 3:36pm, David M.
├─ reply 18   Fri 22nd May, 3:40pm, Lee dB.
├─ reply 19   Fri 22nd May, 5:02pm, Jordan M.
├─ reply 20   Fri 22nd May, 6:21pm, Lee dB.
├─ THIS   Fri 22nd May, 6:24pm, David M.
├─ reply 22   Sat 23rd May, 5:06pm, Kang L.
├─ reply 23   Sat 23rd May, 8:19pm, Jichunyang L.  O.P.
├─ reply 24   Sat 23rd May, 10:02pm, David M.
├─ reply 25   Sat 23rd May, 10:08pm, David M.
├─ reply 26   Mon 25th May, 8:59am, Lee dB.
├─ reply 27   Mon 25th May, 1:46pm, Christopher M.
├─ reply 28   Mon 25th May, 1:56pm, Lee dB.
├─ reply 29   Mon 25th May, 2:55pm, Christopher M.
├─ reply 30   Mon 25th May, 7:08pm, Lee dB.
├─ reply 31   Tue 26th May, 7:36am, Christopher M.
├─ reply 32   Tue 26th May, 8:55am, Lee dB.
├─ reply 33   Tue 26th May, 10:17am, Jichunyang L.  O.P.
├─ reply 34   Tue 26th May, 5:44pm, Christopher M.
├─ reply 35   Tue 26th May, 11:26pm, Jichunyang L.  O.P.
├─ reply 36   Wed 27th May, 3:15pm, Christopher M.
├─ reply 37   Wed 27th May, 4:01pm, David M.
├─ reply 38   Wed 27th May, 11:19pm, Jichunyang L.  O.P.
├─ reply 39   Thu 28th May, 9:43am, Christopher M.
└─ reply 40   Thu 28th May, 10:36am, David M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  3:57pm Aug 06 2020