The parameters specify the occurrences "inside" the base unit:
my $day_set = DateTime::Event::Recurrence->daily( hours => [ 7 .. 22 ] );
This may be a bit unexpected, I agree it should be better documented.
In reply to Re: A question to iterator in Datetime::Event::Recurrence
by fglock
in thread A question to iterator in Datetime::Event::Recurrence
by vagabonding electron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |