* Changes for DateTime::Set
- Recurrence functions can be used to generate
_bounded_ sets.
See: t/16bounded_recurrence.t
Note: all modules that create their own
recurrences must now be able to respond to
DateTime::Infinite::Future and
DateTime::Infinite::Past parameters. The easiest
way to do this is to add this to the first line
of the recurrence subroutines:
next => sub {
return $_[0] if $_[0]->is_infinite;
...
}
previous => sub {
return $_[0] if $_[0]->is_infinite;
...
}
- There is no limit on how small a recurrence can be.
Recurrences as small as 1 nanosecond are possible.
* Changes for DT::Event::Recurrence and
DT::Event::ICal
- added this line to the next/previous functions:
return $_[0] if $_[0]->is_infinite;
I haven't tested with other DT::Event modules
yet, but they will probably need the extra line
in the next/previous functions as well.
- Flavio S. Glock