date_time/test/gregorian
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
..
testcurrent_day.cpp Fix broken copyright urls. Fixes #1573. 2008-02-27 18:51:14 +00:00
testdate_duration.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-25 20:36:52 +00:00
testdate_facet_new.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testdate_input_facet.cpp pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
testdate_iterator.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-25 20:36:52 +00:00
testdate.cpp trac-13159, trac-12630: fix maximum year to 9999 2018-01-24 09:44:04 -05:00
testfacet.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testformat_date_parser.cpp Merged fixes for #287, #1859 and partially #1861. Improved diagnostics in case of test failures. 2009-06-04 08:24:49 +00: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-25 20:36:52 +00:00
testgenerators.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-25 20:36:52 +00:00
testgreg_cal.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-25 20:36:52 +00:00
testgreg_day.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-25 20:36:52 +00:00
testgreg_durations.cpp trac-13159, trac-12630: fix maximum year to 9999 2018-01-24 09:44:04 -05:00
testgreg_month.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-25 20:36:52 +00:00
testgreg_serialize.cpp Bracket archive use to fix xml serialization test failures 2017-11-13 21:44:04 +02:00
testgreg_wstream.cpp trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
testgreg_year.cpp trac-13159, trac-12630: fix maximum year to 9999 2018-01-24 09:44:04 -05:00
testparse_date.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-25 20:36:52 +00:00