[Boost-bugs] [Boost C++ Libraries] #3398: boost::posix_time::time_duration accesser for obtaining milliseconds

Subject: [Boost-bugs] [Boost C++ Libraries] #3398: boost::posix_time::time_duration accesser for obtaining milliseconds
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-03 22:08:17


#3398: boost::posix_time::time_duration accesser for obtaining milliseconds
----------------------------------------------------------------------+-----
 Reporter: Raymond Chandler III <raymond.chandler.ctr@…> | Owner:
     Type: Feature Requests | Status: new
Milestone: Boost 1.41.0 | Component: None
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
----------------------------------------------------------------------+-----
 Hey guys:

 It would be really nice to get the milliseconds of time in
 boost::posix_time::time_duration. There is only an option to get the
 total_milliseconds(), which gives the result of the total milliseconds
 that have passed in that day. Although I can take this and compute hours,
 minutes, seconds and milliseconds from it, it is a bit of a pain in the
 ass to do it that way.

 It would be much nicer if I could just call a function to give me the
 millisecond remainder from seconds. You have accessers like this for
 hours, minutes, and seconds, so why not milliseconds?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3398>
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:01 UTC