On Tue, 18 Jan 2005, Leonardo Herrera wrote:
I'm not sure if this is what you are asking about:
use DateTime::Event::Recurrence; my $set = weekly DateTime::Event::Recurrence( ( days => [ 1, 2 ], hours => 9, minutes => 30 ) );
Close enough for me to get the rest of the way. Now I see it I don't know why I couldn't work it out!
my $set = DateTime::SpanSet->from_sets( start_set => DateTime::Event::Recurrence->weekly( days => [1..5], hours => 9, minutes => 0 ), end_set => DateTime::Event::Recurrence->weekly( days => [1..5], hours => 17, minutes => 0 ) );
Thanks for your help,
Andrew