Anthony R. J. Ball wrote:
>  It sounds like a reasonable solution, as long as plugging
>the current end boundary +1 gives you the next boundary, so
>you can easily work your way forward.

That's the concept.  You'd use it like:

        $dt = starting_point();
        while(defined $dt) {
                print $dt->iso8601, " ", $tz->offset_for_datetime($dt), "\n";
                $dt = $tz->boundary_for_datetime($dt, +1);
        }

which walks forward, or change "+1" to "-1" (and possibly add an initial
step with $which==0) to walk backward.

>maybe not to a lot of people, but the data is there, so
>why not make it available.

Quite.

-zefram

Reply via email to