Would you mind providing a (non)working example?
OTOH, you can specify span durations using full hours (spansets are
created using the 'before' parameter by default):
DateTime::SpanSet->from_set_and_duration(
set => DateTime::Event::Recurrence->daily( hours => $min),
hours => 1+$max-$min,
)->set_time_zone('America/New_York');
- Flavio S. Glock
2006/4/25, Luke Hankins <[EMAIL PROTECTED]>:
> I'm running into a wall trying to figure out why and intersection of a Span
> and a SpanSet isn't coming out the way I'm expecting and am being stymied
> by the opacity of DateTimes in general.
>
> In broad terms, I'm doing something like this:
>
[cut...]
>
> The spanset and span seem to be what I'm expecting, but the intersection
> keeps coming out as undefined. What tools exist to help dig into this?
>