Commit Graph

24 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
James E. King III
f35bbbe906 trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
Marshall Clow
88c18beb87 Merge date/time fixes to release. Fixes #4920
[SVN r70987]
2011-04-04 23:53:07 +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
0249249c48 fixes for copyright
[SVN r34640]
2006-07-20 15:55:16 +00:00
Jeff Garland
82db0bf9bc various updates / fixes to examples
[SVN r29185]
2005-05-25 13:34:25 +00:00
Jeff Garland
1981aae5ba update to jamfile and localization
[SVN r27001]
2005-02-02 02:39:19 +00:00
Jeff Garland
76bdb1c1fc fix copyright / license issues
[SVN r23815]
2004-07-19 22:13:17 +00:00
Jeff Garland
09dbdae01f change to use the new gregorian operators
[SVN r23736]
2004-07-18 23:15:15 +00:00
Jeff Garland
2acf121fb1 add serialization example
[SVN r23268]
2004-06-29 22:18:53 +00:00
Jeff Garland
ea7ab68a48 variety of changes to modernize examples to use newer library interfaces and various cleanup
[SVN r23267]
2004-06-29 20:29:53 +00:00
Jeff Garland
8f6259134c fix tabs / formatting in source
[SVN r21107]
2003-12-03 03:28:35 +00:00
Jeff Garland
364adc1165 fix up compile issues
[SVN r20960]
2003-11-26 13:08:52 +00:00
Jeff Garland
16669d60fa use new macros from compiler_config
[SVN r20403]
2003-10-19 16:39:25 +00:00
Jeff Garland
6d3227d5a9 Update to allow traits-based local time adjustment
[SVN r17304]
2003-02-10 13:23:54 +00:00
Vladimir Prus
45913a407f Update V2 Jamfile for Boost.
[SVN r16882]
2003-01-13 10:05:01 +00:00
Jeff Garland
fe6043c504 update example to use iostreams
[SVN r16073]
2002-11-02 22:25:58 +00:00
Jeff Garland
28cebce6e3 modify to use new io functions
[SVN r16072]
2002-11-02 22:03:43 +00:00
Jeff Garland
5cd11255f9 merge changes from RC_1_29_0 -- fix locale to support date order
[SVN r15560]
2002-09-29 20:26:23 +00:00
Jeff Garland
3e741c1890 add an example of localizing a date
[SVN r15377]
2002-09-16 12:44:48 +00:00
Jeff Garland
57bed6e4ea fix tabs
[SVN r15186]
2002-09-06 20:42:49 +00:00
Jeff Garland
6b32459942 removing files -- renamed to date_time
[SVN r14904]
2002-08-15 19:48:24 +00:00
Jeff Garland
dc846827e4 first version -- renamed
[SVN r14901]
2002-08-15 18:59:16 +00:00
Jeff Garland
598aba2041 first version of library
[SVN r14824]
2002-08-13 22:46:55 +00:00