diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:08:07 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:09:00 +0900 |
commit | b5c87084afaef42b2d058f68091be31988a6a874 (patch) | |
tree | adef9a65870a41181687e11d57fdf98e7629de3c /boost/date_time/posix_time | |
parent | 34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff) | |
download | boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2 boost-b5c87084afaef42b2d058f68091be31988a6a874.zip |
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/date_time/posix_time')
-rw-r--r-- | boost/date_time/posix_time/date_duration_operators.hpp | 2 | ||||
-rw-r--r-- | boost/date_time/posix_time/posix_time_config.hpp | 4 | ||||
-rw-r--r-- | boost/date_time/posix_time/posix_time_duration.hpp | 9 | ||||
-rw-r--r-- | boost/date_time/posix_time/ptime.hpp | 11 |
4 files changed, 14 insertions, 12 deletions
diff --git a/boost/date_time/posix_time/date_duration_operators.hpp b/boost/date_time/posix_time/date_duration_operators.hpp index 60821f0c46..f3c61d7a95 100644 --- a/boost/date_time/posix_time/date_duration_operators.hpp +++ b/boost/date_time/posix_time/date_duration_operators.hpp @@ -1,6 +1,6 @@ #ifndef DATE_DURATION_OPERATORS_HPP___ #define DATE_DURATION_OPERATORS_HPP___ - + /* Copyright (c) 2004 CrystalClear Software, Inc. * Subject to the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or diff --git a/boost/date_time/posix_time/posix_time_config.hpp b/boost/date_time/posix_time/posix_time_config.hpp index 60b34683fd..996afcae59 100644 --- a/boost/date_time/posix_time/posix_time_config.hpp +++ b/boost/date_time/posix_time/posix_time_config.hpp @@ -54,7 +54,7 @@ namespace posix_time { //! Base time duration type /*! \ingroup time_basics */ - class time_duration : + class BOOST_SYMBOL_VISIBLE time_duration : public date_time::time_duration<time_duration, time_res_traits> { public: @@ -134,7 +134,7 @@ namespace posix_time { } }; - class posix_time_system_config + class BOOST_SYMBOL_VISIBLE posix_time_system_config { public: typedef simple_time_rep time_rep_type; diff --git a/boost/date_time/posix_time/posix_time_duration.hpp b/boost/date_time/posix_time/posix_time_duration.hpp index 34380de904..1143cedb57 100644 --- a/boost/date_time/posix_time/posix_time_duration.hpp +++ b/boost/date_time/posix_time/posix_time_duration.hpp @@ -9,7 +9,8 @@ * $Date$ */ -#include "boost/date_time/posix_time/posix_time_config.hpp" +#include <boost/date_time/compiler_config.hpp> +#include <boost/date_time/posix_time/posix_time_config.hpp> namespace boost { namespace posix_time { @@ -17,7 +18,7 @@ namespace posix_time { //! Allows expression of durations as an hour count /*! \ingroup time_basics */ - class hours : public time_duration + class BOOST_SYMBOL_VISIBLE hours : public time_duration { public: explicit hours(long h) : @@ -28,7 +29,7 @@ namespace posix_time { //! Allows expression of durations as a minute count /*! \ingroup time_basics */ - class minutes : public time_duration + class BOOST_SYMBOL_VISIBLE minutes : public time_duration { public: explicit minutes(long m) : @@ -39,7 +40,7 @@ namespace posix_time { //! Allows expression of durations as a seconds count /*! \ingroup time_basics */ - class seconds : public time_duration + class BOOST_SYMBOL_VISIBLE seconds : public time_duration { public: explicit seconds(long s) : diff --git a/boost/date_time/posix_time/ptime.hpp b/boost/date_time/posix_time/ptime.hpp index e4f9d02d1f..c97edf9cfb 100644 --- a/boost/date_time/posix_time/ptime.hpp +++ b/boost/date_time/posix_time/ptime.hpp @@ -9,8 +9,9 @@ * $Date$ */ -#include "boost/date_time/posix_time/posix_time_system.hpp" -#include "boost/date_time/time.hpp" +#include <boost/date_time/posix_time/posix_time_system.hpp> +#include <boost/date_time/time.hpp> +#include <boost/date_time/compiler_config.hpp> namespace boost { @@ -24,11 +25,11 @@ namespace posix_time { using date_time::not_a_date_time; using date_time::max_date_time; using date_time::min_date_time; - + //! Time type with no timezone or other adjustments /*! \ingroup time_basics */ - class ptime : public date_time::base_time<ptime, posix_time_system> + class BOOST_SYMBOL_VISIBLE ptime : public date_time::base_time<ptime, posix_time_system> { public: typedef posix_time_system time_system_type; @@ -53,7 +54,7 @@ namespace posix_time { ptime() : date_time::base_time<time_type,time_system_type>(gregorian::date(not_a_date_time), time_duration_type(not_a_date_time)) {} #endif // DATE_TIME_NO_DEFAULT_CONSTRUCTOR - + }; |