Boost logo

Boost Users :

Subject: Re: [Boost-users] Local_date_time constructor question
From: John Rocha (jrr_at_[hidden])
Date: 2011-01-05 11:25:00


I do not believe date and time zone will tell you if the area is in day light
savings or not. Because there are some areas that do not observe daylight
savings. In the US, I know that Arizona is part of Mountain Time for the time
zone, but they do not observe day light savings.

Moreover, there are many countries throughout the world that do not do day light
savings.

There's a pretty good map that illustrates areas that do and do not observe
daylight savings at: http://en.wikipedia.org/wiki/Daylight_saving_time

On 1/4/2011 3:48 PM, qplace wrote:
> Documentation for local_date_time constructor
> local_date_time(...)
> Parameters:
> date
> time_duration
> time_zone_ptr
> bool
>
> states that the last parameter, "The DST flag", "must be passed to indicate
> whether the time is in daylight savings or not."
>
> My question is:
>
> Isn't the combination of the first parameter, "date" and third
> parameter, "time_zone_ptr" determine if the resulted local_date_time will be
> either in the daylight saving time period or not?
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

-- 
2 much txting mks u 1 bad splr!!!!

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net