Re: [Boost-bugs] [Boost C++ Libraries] #3803: How to use dynamic_local_time_adjustor ?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3803: How to use dynamic_local_time_adjustor ?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-09 18:37:33


#3803: How to use dynamic_local_time_adjustor ?
-------------------------------+--------------------------------------------
  Reporter: oncer@… | Owner: az_sw_dude
      Type: Support Requests | Status: closed
 Milestone: Boost 1.42.0 | Component: date_time
   Version: Boost 1.41.0 | Severity: Not Applicable
Resolution: fixed | Keywords:
-------------------------------+--------------------------------------------
Changes (by andysem):

  * status: new => closed
  * type: Bugs => Support Requests
  * resolution: => fixed
  * severity: Problem => Not Applicable

Comment:

 Honestly, I have only a slightest idea. It looks like the class is
 intended to be used to generate local times that respect DST changes. It
 seems, its major difference from static_local_time_adjustor is that you
 can specify the base offset from UTC to your local time in the constructor
 rather than as a part of template parameters.

 In order to use it you can specify the time type and the DST changing
 policy as its template parameters. The latter can have state and should
 implement the dst_offset function that will return the DST shift.

 If you have further questions, you can try asking on the mailing list.
 Perhaps someone more experienced will be able to help.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3803#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC