On Wed, 24 Sep 2003, Flavio S. Glock wrote:
> sub _following_sunrise {
> [ ... initialize ...]
> my $tz = $dt->time_zone;
> my $loc = $dt->locale;
> [ ... some calculations ... ]
> $tmp_rise->set_time_zone( $tz ); # unless $tz->is_floating ???
> $tmp_rise->set_locale( $loc );
> return $tmp_rise;
> }It's probably ok to set the time zone even if the given DT is in the floating time zone. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
