date_time/test/posix_time
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
..
compile_fail quiet unused variable warnings in compile_fail tests 2018-01-28 10:04:59 -05:00
testc_local_adjustor.cpp trac-11142: fix boost::date_time::period_parser::delimiter_strings and add a unit test for it 2018-01-16 12:46:45 -05:00
testclock.cpp Merged changes from trunk. Fixes #3471. 2012-10-10 19:05:03 +00:00
testdst_rules.cpp trac-9882: fix gcc -Wshadow errors and warnings enabled by trac-3606 2018-01-17 09:22:22 -05:00
testduration.cpp pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
testfiletime_functions.cpp Silence MSVC warning about possible integer truncation. 2017-08-28 20:05:46 +03:00
testformatters.cpp testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users. 2008-11-26 21:07:14 +00:00
testgreg_duration_operators.cpp testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users. 2008-11-26 21:07:14 +00:00
testiterator.cpp testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users. 2008-11-26 21:07:14 +00:00
testlocal_adjustor.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testmicrosec_time_clock.cpp pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
testparse_time.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testperiod.cpp testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users. 2008-11-26 21:07:14 +00:00
teststreams.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testtime_facet.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testtime_formatters.cpp trac-1078: given to_iso_string can print special values, make from_iso_string read them 2018-01-22 15:49:25 -05:00
testtime_input_facet.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testtime_period.cpp testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users. 2008-11-26 21:07:14 +00:00
testtime_serialize_versioning.cpp issue-56: fix 32/64 bit test issue with previous fix 2018-01-07 11:23:14 -05:00
testtime_serialize.cpp Bracket archive use to fix xml serialization test failures 2017-11-13 21:44:04 +02:00
testtime_wstream.cpp testfrmwk.hpp moved to the tests directory. It was not a part of the library public interface and should not be seen by users. 2008-11-26 21:07:14 +00:00
testtime.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00