summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/Boost/boost/date_time/gregorian/greg_duration_types.hpp')
m---------3rdParty/Boost0
-rw-r--r--3rdParty/Boost/boost/date_time/gregorian/greg_duration_types.hpp43
2 files changed, 0 insertions, 43 deletions
diff --git a/3rdParty/Boost b/3rdParty/Boost
new file mode 160000
+Subproject 3bbdbc8cf1996f23d9a366da8bac0f97be6ad79
diff --git a/3rdParty/Boost/boost/date_time/gregorian/greg_duration_types.hpp b/3rdParty/Boost/boost/date_time/gregorian/greg_duration_types.hpp
deleted file mode 100644
index 3d1ce62..0000000
--- a/3rdParty/Boost/boost/date_time/gregorian/greg_duration_types.hpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef GREG_DURATION_TYPES_HPP___
-#define GREG_DURATION_TYPES_HPP___
-
-/* Copyright (c) 2004 CrystalClear Software, Inc.
- * Subject to Boost Software License, Version 1.0. (See accompanying
- * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
- * Author: Jeff Garland, Bart Garst
- * $Date: 2008-11-12 14:37:53 -0500 (Wed, 12 Nov 2008) $
- */
-
-
-#include <boost/date_time/gregorian/greg_date.hpp>
-#include <boost/date_time/int_adapter.hpp>
-#include <boost/date_time/adjust_functors.hpp>
-#include <boost/date_time/date_duration_types.hpp>
-#include <boost/date_time/gregorian/greg_duration.hpp>
-
-namespace boost {
-namespace gregorian {
-
- //! config struct for additional duration types (ie months_duration<> & years_duration<>)
- struct greg_durations_config {
- typedef date date_type;
- typedef date_time::int_adapter<int> int_rep;
- typedef date_time::month_functor<date_type> month_adjustor_type;
- };
-
- typedef date_time::months_duration<greg_durations_config> months;
- typedef date_time::years_duration<greg_durations_config> years;
-
- class weeks_duration : public date_duration {
- public:
- weeks_duration(duration_rep w)
- : date_duration(w * 7) {}
- weeks_duration(date_time::special_values sv)
- : date_duration(sv) {}
- };
-
- typedef weeks_duration weeks;
-
-}} // namespace boost::gregorian
-
-#endif // GREG_DURATION_TYPES_HPP___