> There's some example code in the FAQ which fails
> its tests, but presumably once passed. It's for
> spansets.
I think the example was meant to be:
# Make the set representing the work start times:
# Mon-Fri morning 9:00, and afternoon 13:00
my $start = DateTime::Event::Recurrence->weekly
( days => [1 .. 5], hours => [9, 13] );
# Make the set representing the work end times:
# Mon-Fri morning 12:00, and afternoon 17:00
my $end = DateTime::Event::Recurrence->weekly
( days => [1 .. 5], hours => [12, 17] );
- Flavio S. Glock