On 13/08/05, James Edward Gray II <james / grayproductions.net> wrote: > On Aug 13, 2005, at 3:08 AM, Brian Schr?der wrote: > > > How are theses hours given? Is it a one-time appointment, repeating > > appointments on a weekly/monthly basis? Is there an example input so > > we can test the programs against each other? > > Here's one possible idea. What do you think? > > James Edward Gray II > > --- > Schedule: > Wed: 9 AM to 6 PM > Sun: 9 AM to 10 PM > Thu: 9 AM to 8 PM > Mon: 9 AM to 6 PM > Tue: 9 AM to 6 PM > Sat: 9 AM to 10 PM > Fri: 9 AM to 6 PM > Workers: > James: > Wed: any > Sun: any (prefers before 5 PM) > Thu: 12 PM to 3 PM > Mon: before 3 PM (prefers before 12 PM) > Tue: any > Sat: not available > Fri: 12 PM to 3 PM > Brian: > Wed: not available > Sun: after 1 PM > Thu: any (prefers 8 AM to 5 PM) > Mon: any (prefers 8 AM to 5 PM) > Tue: any (prefers 8 AM to 5 PM) > Sat: any > Fri: any (prefers 8 AM to 5 PM) Interesting to parse. May I assume then, that there are only timeslots of full hours? regards, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/