What would be the best way to represent a complex schedule in Mathematica ?
For example a representation of the plain words schedule: "From Monday to Friday, from 8 am to 12pm and from 1pm to 4pm", or another schedule like "Monday from 2am to 6am,Tuesday from 10 am to 11am, ..."
This needs stems from the fact that I need to start and stop scheduled tasks if I am in an interval specified by a schedule, and given a time I need to know if I'm in such an interval or not, in order to know if the state is "Started" or "Stopped".
Possibly somebody has had a similar need in Mathematica before, thank you.
Maybe one possibility would be to create a scheduled task that starts or stops the next bound of a time interval.