mirror of
https://github.com/boostorg/date_time.git
synced 2026-01-19 04:12:07 +00:00
ff7716226569868de1d36036ceac01f5e1f0c669
MSVC 19.28.29336.0 throws the following warning when boost::date_time::gregorian_date is called. warning C4365: 'initializing': conversion from 'int' to 'unsigned long', signed/unsigned mismatch warning C4365: const boost::posix_time::ptime Since1970(boost::gregorian::date(1970U, 1U, 1U)); warning C4365: ^ <path>\include\boost\date_time\date.hpp(72,35): message : while evaluating constexpr function 'boost::date_time::gregorian_calendar_base<boost::gregorian::greg_year_month_day,unsigned int>::day_number' <path>\include\boost\date_time\date.hpp(72,35): message : : days_(calendar::day_number(ymd_type(y, m, d))) Co-authored-by: timmaraju <keerthi.timmaraju@teamviewer.com>
[skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. (#178)
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
- Header only
Build Status
| Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests |
|---|---|---|---|---|---|---|---|
master |
|||||||
develop |
Directories
Note that the built library is only for build backward compatibility and contains no symbols. date_time is now header only.
| Name | Purpose |
|---|---|
build |
build script for optional lib build |
data |
timezone database |
doc |
documentation |
example |
use case examples |
include |
headers |
src |
source code for optional link library |
test |
unit tests |
xmldoc |
documentation source |
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.
Languages
C++
98.4%
XSLT
0.6%
HTML
0.5%
Perl
0.3%
CMake
0.2%