Dave Rolsky wrote:
> >   from_sets ( start_set => $set1, end_set => $set2 ); 
> What if the earliest datetime in
> $set2 is _earlier_ than the earliest datetime in $set1?

It has the same behaviour as the "span" constructor: 
if you only have an "end" date, it means that "start" 
is NEG_INFINITY.

Anyway, this should not happen with recurrences, which 
always have an "earlier" date.

(I hope this will keep the formatting)
start:            5      10     13
end:          2     9       11
result:  -inf,2   5,9    10,11  13,inf

I just finished some tests, together with Ronald Hill,
and this seems to be working just fine.

Note: I'm starting to refactor Set::Infinity, and
I just uploaded a version with (somewhat) revised 
documentation (0.46).

- Flavio S. Glock

Reply via email to