Go to file
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
build update readme and link to boostdep 2018-01-23 18:19:38 -05:00
data trac-10087: update the time zone database to IANA 2016c 2018-01-06 11:30:28 -05:00
doc trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
example pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
include/boost pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
meta add jking to maintainers list 2018-01-28 10:05:15 -05:00
src Merge bug fixes to release; Fixes #5550 Fixes #6136 Fixes #6513 Fixes #7111 Fixes #7112 Fixes #7113 Fixes #7342 Fixes #7426 2012-09-30 23:25:22 +00:00
test pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
xmldoc pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
.gitattributes First version of docs. 2002-08-13 22:18:14 +00:00
.gitignore trac-3606: fix remaining msvc /W4 complaints (msvc-10.0 and up) 2018-01-17 09:22:22 -05:00
.travis.yml pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
appveyor.yml pull develop to master for boost 1.72 (#117) 2019-12-03 17:06:28 -07:00
index.html fixes for copyright 2006-07-20 15:55:16 +00:00
Jamfile 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
LICENSE Add license file 2018-04-29 10:06:38 -04:00
README.md Enhance CI for more build coverage 2018-11-02 21:27:05 -04:00

DateTime, part of the collection of Boost C++ Libraries, makes programming with dates and times as simple and natural as programming with strings and integers.

License

Distributed under the Boost Software License, Version 1.0.

Properties

  • C++03
  • Requires Linking

Build Status

Branch Travis Appveyor Coverity Scan codecov.io Deps Docs Tests
master Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix
develop Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix

Directories

Name Purpose
build build script for link library
data timezone database
doc documentation
example use case examples
include headers
src source code for link library
test unit tests
xmldoc additional documentation

More information

  • Ask questions: Be sure to read the documentation first to see if it answers your question.
  • Report bugs: Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
  • Submit Pull Requests against the develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0. Be sure to include tests proving your changes work properly.
  • Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the [date_time] tag at the beginning of the subject line.