Commit Graph

18 Commits

Author SHA1 Message Date
Jeff Garland
e26fd2ed98
pull develop to master for boost 1.72 (#117)
* Synchronize each miscrosec test to the next second (#109)

* Synchronize each miscrosec test to the next second

The aim is to avoid false positives in test_microsec when the seconds,
minutes or hours change during time read between the second_clock and
the microsec_clock.

* Improved readability of the microcec_time_clock test

* Improve performance of adding and subtracting time durations from a ptime. (#99)

Modifying ptime objects by adding and subtracting time durations was
inefficient because it extracted the date and time of day and then
re-constructed a ptime using the date and modified time of day.

This can be avoided by using the existing time_system utilities which
perform the operation by adjusting the number of ticks.

Performance is improved by a factor of 48 on my system.

* Update CI Scripts

* Add time_duration helper functions: (#113)

1. is_positive()
  - Return boolean value to indicate whether or not time duration is
    positive.
2. is_zero()
  - Return boolean value to indicate whether or not time duration is
    zero.
3. abs()
  - Return a time_duration which is the absolute value of time
    duration.

Added documentation for these helper functions and improved existing
documentation to indicate constness, return values or static
functions.

* Cease dependence on MPL (#115)
2019-12-03 17:06:28 -07:00
Mana Borwornpadungkitti
345abc6b67 Fix a typo in example of time_duration xmldoc (#100) 2019-03-24 08:32:07 -07:00
James E. King III
de171954fe Fix serialization problem with time_duration
This fixes #56
2017-12-29 23:38:44 -05:00
Marshall Clow
006adfaa84 Merge doc typo corrections to release; fixes #6595; fixes #7182
[SVN r80057]
2012-08-16 05:16:42 +00:00
Daniel James
c9f634b1d4 Merged revisions 43211,43214-43219,43222-43225,43227-43238,43242,43244-43245,43249-43250,43257-43259,43261,43263,43265,43267-43268,43270-43271,43273,43275-43279,43284-43289,43291,43295,43297-43298,43304-43305,43307,43313,43315,43324,43326-43327,43331,43333,43339-43343,43345,43348,43350,43352-43353,43355-43356,43358,43360,43366-43367,43369-43370,43372-43376,43378-43389,43394,43396-43398,43400-43401,43403-43404,43406-43408,43413-43415,43417-43418,43420,43422-43423 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r43417 | danieljames | 2008-02-26 22:04:55 +0000 (Tue, 26 Feb 2008) | 2 lines
  
  Fix a link to Boost.Bimap.
........
  r43418 | danieljames | 2008-02-26 22:07:25 +0000 (Tue, 26 Feb 2008) | 2 lines
  
  Change another link that's no longer in the repository to link to the website.
........
  r43422 | danieljames | 2008-02-27 18:51:14 +0000 (Wed, 27 Feb 2008) | 1 line
  
  Fix broken copyright urls. Fixes #1573.
........
  r43423 | danieljames | 2008-02-27 19:22:01 +0000 (Wed, 27 Feb 2008) | 1 line
  
  Fix incorrect links to copyright of the form 'http:#www.boost.org
........


[SVN r43425]
2008-02-27 20:00:24 +00:00
Jeff Garland
f2860feacb fix and clarify ticks_per_second docs.
[SVN r37476]
2007-04-21 18:17:19 +00:00
Jeff Garland
6cfa174d56 documentation updates to support changes to time duration formatting. Also improvements to documentation of special value interfaces in ptime and other classes
[SVN r29883]
2005-07-04 02:35:20 +00:00
Jeff Garland
12d121e876 fix bug with exception handling in new i/o code -- only throw exceptions if stream bits set correctly -- cooresponding doc updates
[SVN r29824]
2005-06-28 13:13:31 +00:00
Jeff Garland
d863baf4c7 clarification on how to write safe code for time_durations
[SVN r29549]
2005-06-13 11:51:13 +00:00
Jeff Garland
3ff7c8d1d4 jun 9 documentation update for 1.33
[SVN r29505]
2005-06-10 04:17:03 +00:00
Jeff Garland
351d9fcacf tons of documentation updates for the 1.33 release
[SVN r29259]
2005-05-28 18:56:21 +00:00
Jeff Garland
792631d009 fix documentation so that time durations are all spelled out
[SVN r28302]
2005-04-17 21:33:34 +00:00
Jeff Garland
823e263e51 add information related to truncation of digits on time parsing
[SVN r27934]
2005-04-02 17:55:49 +00:00
Jeff Garland
aadbd5f054 massive doc update for local_time changes
[SVN r27002]
2005-02-02 03:05:39 +00:00
Jeff Garland
21f35fcb5b fix spelling in example
[SVN r25580]
2004-10-06 14:11:25 +00:00
Jeff Garland
6e380e3a31 add copyright / license statements to all xml files
[SVN r24830]
2004-08-30 17:58:38 +00:00
Jeff Garland
f95bc451ff various doc changes including std_config cleanup, fixup of includes for posix time times
[SVN r24354]
2004-08-09 15:55:09 +00:00
Jeff Garland
531428121a initial version of xml docs
[SVN r23219]
2004-06-28 00:07:55 +00:00