Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84381 - in sandbox/chrono_date: boost/chrono/date boost/chrono/date/detail libs/date libs/date/build libs/date/doc libs/date/example libs/date/perf libs/date/src libs/date/test libs/date/test/dates/days libs/date/test/dates/ydoy libs/date/test/dates/ymd libs/date/test/wrappers
From: vicente.botet_at_[hidden]
Date: 2013-05-19 20:43:54


Author: viboes
Date: 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
New Revision: 84381
URL: http://svn.boost.org/trac/boost/changeset/84381

Log:
Chrono/Date: Added more BOOST_FORCEINLINE BOOST_CONSTEXPR.
Text files modified:
   sandbox/chrono_date/boost/chrono/date/config.hpp | 4 -
   sandbox/chrono_date/boost/chrono/date/conversions.hpp | 2
   sandbox/chrono_date/boost/chrono/date/date.hpp | 2
   sandbox/chrono_date/boost/chrono/date/date_durations.hpp | 2
   sandbox/chrono_date/boost/chrono/date/date_generators.hpp | 2
   sandbox/chrono_date/boost/chrono/date/date_io.hpp | 6 +-
   sandbox/chrono_date/boost/chrono/date/day.hpp | 2
   sandbox/chrono_date/boost/chrono/date/day_of_year.hpp | 2
   sandbox/chrono_date/boost/chrono/date/days_date.hpp | 2
   sandbox/chrono_date/boost/chrono/date/detail/helpers.hpp | 2
   sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp | 2
   sandbox/chrono_date/boost/chrono/date/exceptions.hpp | 2
   sandbox/chrono_date/boost/chrono/date/include.hpp | 2
   sandbox/chrono_date/boost/chrono/date/is_date.hpp | 2
   sandbox/chrono_date/boost/chrono/date/month.hpp | 2
   sandbox/chrono_date/boost/chrono/date/month_nth.hpp | 12 ++--
   sandbox/chrono_date/boost/chrono/date/month_nth_weekday.hpp | 18 +++---
   sandbox/chrono_date/boost/chrono/date/no_check.hpp | 2
   sandbox/chrono_date/boost/chrono/date/nth_tag.hpp | 2
   sandbox/chrono_date/boost/chrono/date/nth_week.hpp | 2
   sandbox/chrono_date/boost/chrono/date/nth_weekday.hpp | 2
   sandbox/chrono_date/boost/chrono/date/relative_date.hpp | 101 ++++-----------------------------------
   sandbox/chrono_date/boost/chrono/date/tuples.hpp | 44 ++++++++++++++++
   sandbox/chrono_date/boost/chrono/date/week.hpp | 2
   sandbox/chrono_date/boost/chrono/date/weekday.hpp | 2
   sandbox/chrono_date/boost/chrono/date/ydoy_date.hpp | 2
   sandbox/chrono_date/boost/chrono/date/year.hpp | 7 +-
   sandbox/chrono_date/boost/chrono/date/ymd_date.hpp | 2
   sandbox/chrono_date/libs/date/build/Jamfile.v2 | 2
   sandbox/chrono_date/libs/date/doc/date.qbk | 2
   sandbox/chrono_date/libs/date/example/ex_julian.cpp | 2
   sandbox/chrono_date/libs/date/example/ex_week_based_year.cpp | 2
   sandbox/chrono_date/libs/date/example/hello_world.cpp | 2
   sandbox/chrono_date/libs/date/example/julian.cpp | 2
   sandbox/chrono_date/libs/date/example/julian.hpp | 2
   sandbox/chrono_date/libs/date/example/week_based_year.hpp | 2
   sandbox/chrono_date/libs/date/index.html | 2
   sandbox/chrono_date/libs/date/perf/Jamfile.v2 | 2
   sandbox/chrono_date/libs/date/perf/serial_calendar_conversions.cpp | 2
   sandbox/chrono_date/libs/date/src/conversions.cpp | 2
   sandbox/chrono_date/libs/date/src/days_date.cpp | 2
   sandbox/chrono_date/libs/date/src/rel_date.cpp | 2
   sandbox/chrono_date/libs/date/src/vars.cpp | 13 +++-
   sandbox/chrono_date/libs/date/src/ydoy_date.cpp | 2
   sandbox/chrono_date/libs/date/src/ymd_date.cpp | 2
   sandbox/chrono_date/libs/date/test/Jamfile.v2 | 2
   sandbox/chrono_date/libs/date/test/dates/days/days_date_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/dates/days/nth_days_date_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/dates/ydoy/ydoy_date_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/dates/ymd/ymd_date_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/day_of_year_fail.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/day_of_year_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/day_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/month_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/nth_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/nth_week_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/week_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/weekday_pass.cpp | 2
   sandbox/chrono_date/libs/date/test/wrappers/year_pass.cpp | 2
   59 files changed, 136 insertions(+), 171 deletions(-)

Modified: sandbox/chrono_date/boost/chrono/date/config.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/config.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/config.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,6 +1,6 @@
 // config.hpp
 //
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -8,8 +8,6 @@
 #ifndef BOOST_CHRONO_DATE_CONFIG_HPP
 #define BOOST_CHRONO_DATE_CONFIG_HPP
 
-//#define BOOST_FORCEINLINE inline __attribute__ ((always_inline))
-
 #include <boost/chrono/config.hpp>
 
 // 1 => days + ymd + leap

Modified: sandbox/chrono_date/boost/chrono/date/conversions.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/conversions.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/conversions.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/date.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/date.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/date.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/date_durations.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/date_durations.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/date_durations.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,6 +1,6 @@
 // date_durations.hpp
 //
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/date_generators.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/date_generators.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/date_generators.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date_generators.hpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/date_io.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/date_io.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/date_io.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date_io.hpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -196,7 +196,7 @@
      * @endcode
      */
     template<class charT>
- inline date_manip<charT> date_fmt(std::basic_string<charT> fmt)
+ BOOST_FORCEINLINE date_manip<charT> date_fmt(std::basic_string<charT> fmt)
     {
       //#if ! defined BOOST_NO_RVALUE_DEFERENCES
       // return date_manip<charT>(std::move(fmt));
@@ -211,7 +211,7 @@
      * @return <c>date_fmt(std::string(fmt))</c>
      */
     template<class charT>
- inline date_manip<charT> date_fmt(const charT* fmt)
+ BOOST_FORCEINLINE date_manip<charT> date_fmt(const charT* fmt)
     {
       return date_manip<charT> (fmt);
     }

Modified: sandbox/chrono_date/boost/chrono/date/day.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/day.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/day.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/day_of_year.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/day_of_year.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/day_of_year.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,6 +1,6 @@
 // date
 //
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/days_date.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/days_date.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/days_date.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // days_date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/detail/helpers.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/detail/helpers.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/detail/helpers.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // days_date.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date_io.hpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/exceptions.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/exceptions.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/exceptions.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // exceptions.hpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/include.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/include.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/include.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,6 +1,6 @@
 // date --------------------------------------------------------------//
 
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt

Modified: sandbox/chrono_date/boost/chrono/date/is_date.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/is_date.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/is_date.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/month.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/month.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/month.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/month_nth.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/month_nth.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/month_nth.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -36,7 +36,7 @@
        * @Note This function doesn't check the parameters validity.
        * It is up to the user to provide the valid ones.
        */
- BOOST_CONSTEXPR month_nth(month m, last_tag) BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_nth(month m, last_tag) BOOST_NOEXCEPT
       : m_(m)
       {
       }
@@ -44,7 +44,7 @@
        * @Return the @c month component.
        */
       //BOOST_CONSTEXPR month month() const BOOST_NOEXCEPT
- BOOST_CHRONO_EXPLICIT BOOST_CONSTEXPR operator chrono::month() const BOOST_NOEXCEPT
+ BOOST_CHRONO_EXPLICIT BOOST_FORCEINLINE BOOST_CONSTEXPR operator chrono::month() const BOOST_NOEXCEPT
       {
         return m_;
       }
@@ -52,7 +52,7 @@
       /**
        * @Return if the stored value is a valid one.
        */
- bool is_valid() const BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR bool is_valid() const BOOST_NOEXCEPT
       {
         return (m_.is_valid());
       }
@@ -61,7 +61,7 @@
      * @Return a the @c month_nth with the associated parameters.
      * @Throws if d is outside of the valid range of days of month @c m, throws an exception of type bad_date.
      */
- inline BOOST_CONSTEXPR month_nth operator/(chrono::month m, last_tag d)
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_nth operator/(chrono::month m, last_tag d)
     BOOST_NOEXCEPT
     {
       return month_nth(m, d);
@@ -71,7 +71,7 @@
      * @Returns the @c month_nth with the associated parameters.
      * @Throws if @c d is outside of the valid range of days of month @c m, throws an exception of type bad_date.
      */
- inline BOOST_CONSTEXPR month_nth operator/(last_tag d, chrono::month m)
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_nth operator/(last_tag d, chrono::month m)
 BOOST_NOEXCEPT {
     return month_nth(m, d);
   }

Modified: sandbox/chrono_date/boost/chrono/date/month_nth_weekday.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/month_nth_weekday.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/month_nth_weekday.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -79,14 +79,14 @@
     /**
      * @return a @c month_nth_weekday build with the given parameters.
      */
- inline BOOST_CONSTEXPR month_nth_weekday operator/(month m, nth_weekday d) BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_nth_weekday operator/(month m, nth_weekday d) BOOST_NOEXCEPT
     {
       return month_nth_weekday(m, d);
     }
     /**
      * @return a @c month_nth_weekday build with the given parameters.
      */
- inline BOOST_CONSTEXPR month_nth_weekday operator/(nth_weekday d, month m) BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_nth_weekday operator/(nth_weekday d, month m) BOOST_NOEXCEPT
     {
       return month_nth_weekday(m, d);
     }
@@ -105,7 +105,7 @@
        * @Note This function doesn't check the parameters validity.
        * It is up to the user to provide a valid ones.
        */
- BOOST_CONSTEXPR month_last_weekday(month::rep m, last_weekday d) BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_last_weekday(month::rep m, last_weekday d) BOOST_NOEXCEPT
       : m_(m),
       d_(d)
       {
@@ -114,7 +114,7 @@
        * @Return the @c month component.
        */
       //month month() const BOOST_NOEXCEPT
- BOOST_CHRONO_EXPLICIT BOOST_CONSTEXPR operator chrono::month() const BOOST_NOEXCEPT
+ BOOST_CHRONO_EXPLICIT BOOST_FORCEINLINE BOOST_CONSTEXPR operator chrono::month() const BOOST_NOEXCEPT
       {
         return m_;
       }
@@ -122,14 +122,14 @@
        * @Return the @c last_weekday component.
        */
       //BOOST_CONSTEXPR last_weekday last_weekday() const BOOST_NOEXCEPT
- BOOST_CHRONO_EXPLICIT BOOST_CONSTEXPR operator chrono::last_weekday() const BOOST_NOEXCEPT
+ BOOST_CHRONO_EXPLICIT BOOST_FORCEINLINE BOOST_CONSTEXPR operator chrono::last_weekday() const BOOST_NOEXCEPT
       {
         return d_;
       }
       /**
        * @Return if the stored value is a valid one.
        */
- BOOST_CONSTEXPR bool is_valid() const BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR bool is_valid() const BOOST_NOEXCEPT
       {
         return ( m_.is_valid() && d_.is_valid() );
       }
@@ -138,14 +138,14 @@
     /**
      * @return a @c month_last_weekday build with the given parameters.
      */
- inline BOOST_CONSTEXPR month_last_weekday operator/(month m, last_weekday d) BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_last_weekday operator/(month m, last_weekday d) BOOST_NOEXCEPT
     {
       return month_last_weekday(m, d);
     }
     /**
      * @return a @c month_last_weekday build with the given parameters.
      */
- inline BOOST_CONSTEXPR month_last_weekday operator/(last_weekday d, month m) BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR month_last_weekday operator/(last_weekday d, month m) BOOST_NOEXCEPT
     {
       return month_last_weekday(m, d);
     }

Modified: sandbox/chrono_date/boost/chrono/date/no_check.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/no_check.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/no_check.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,6 +1,6 @@
 // date
 //
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/nth_tag.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/nth_tag.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/nth_tag.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/nth_week.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/nth_week.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/nth_week.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/nth_weekday.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/nth_weekday.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/nth_weekday.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/relative_date.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/relative_date.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/relative_date.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // rel_date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -9,8 +9,6 @@
 #ifndef BOOST_CHRONO_DATE_RELATIVE_DATE_HPP
 #define BOOST_CHRONO_DATE_RELATIVE_DATE_HPP
 
-
-
 #include <boost/cstdint.hpp>
 #include <boost/chrono/config.hpp>
 #include <boost/chrono/date/date.hpp>
@@ -41,23 +39,7 @@
      */
     class rel_date
     {
-#if BOOST_CHRONO_DATE_REL_DATE_DESIGN == 1
- // Store x, y/m/d, n, dow. Total 64 bits
- uint_least32_t x_;
- int_least16_t y_;
 
- uint_least8_t m_ : 4;
- uint_least8_t leap_ : 1;
- uint_least8_t dow_ : 3;
-
- uint_least8_t d_ : 5; // :5
- uint_least8_t n_ : 3; // :3
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 2
- // Store x, n, dow. Total 64 bits
- uint_least32_t x_;
- uint_least8_t n_ :5;
- uint_least8_t dow_ :3;
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 3
       // Store y/m/d, n, dow. Total 32 bits
       int_least16_t y_;
       uint_least8_t m_ : 4;
@@ -65,7 +47,6 @@
       uint_least8_t dow_ : 3;
       uint_least8_t d_ : 5;
       uint_least8_t n_ : 3;
-#endif
 
     public:
 
@@ -116,7 +97,6 @@
       // observers
       //bool is_valid() const BOOST_NOEXCEPT;
 
-#if BOOST_CHRONO_DATE_REL_DATE_DESIGN == 1 || BOOST_CHRONO_DATE_REL_DATE_DESIGN == 3
       chrono::day to_day() const BOOST_NOEXCEPT
       {
         return chrono::day(d_, no_check);
@@ -149,50 +129,17 @@
       {
         return leap_;
       }
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 2
- //chrono::day day() const BOOST_NOEXCEPT
- operator chrono::day() const BOOST_NOEXCEPT
- {
- return chrono::day(day_from_day_number());
- }
- chrono::month month() const BOOST_NOEXCEPT
- {
- return chrono::month(month_from_day_number());
- }
- chrono::year year() const BOOST_NOEXCEPT
- {
- return chrono::year(year_from_day_number());
- }
- bool is_leap_year() const BOOST_NOEXCEPT
- {
- return leap_from_day_number();
- }
-#endif
-#if BOOST_CHRONO_DATE_REL_DATE_DESIGN == 1 || BOOST_CHRONO_DATE_REL_DATE_DESIGN == 2
- //chrono::weekday weekday() const BOOST_NOEXCEPT
- BOOST_CHRONO_EXPLICIT operator chrono::weekday() const BOOST_NOEXCEPT
- {
- return chrono::weekday((x_+1) % weekday::size);
- }
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 3
+
       //chrono::weekday weekday() const BOOST_NOEXCEPT
       BOOST_CHRONO_EXPLICIT operator chrono::weekday() const BOOST_NOEXCEPT
       {
         return chrono::weekday((day_number_from_ymd()+1) % weekday::size);
       }
-#endif
 
-#if BOOST_CHRONO_DATE_REL_DATE_DESIGN == 1 || BOOST_CHRONO_DATE_REL_DATE_DESIGN == 2
- days days_since_epoch() const
- {
- return days(x_);
- }
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 3
       days days_since_epoch() const
       {
         return days(day_number_from_ymd());
       }
-#endif
 
 #if BOOST_CHRONO_DATE_REL_DATE_IS_A_MODEL_OF_DATE
 
@@ -237,17 +184,10 @@
         return dt;
       }
 #endif
-#if BOOST_CHRONO_DATE_REL_DATE_DESIGN == 1 || BOOST_CHRONO_DATE_REL_DATE_DESIGN == 2
- friend days operator-(rel_date x, rel_date y) BOOST_NOEXCEPT
- {
- return x.days_since_epoch() - y.days_since_epoch();
- }
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 3
       friend days operator-(rel_date x, rel_date y) BOOST_NOEXCEPT
       {
         return days_date(x).days_since_epoch() - days_date(y).days_since_epoch();
       }
-#endif
       friend days operator-(rel_date x, ymd_date y) BOOST_NOEXCEPT
       {
         return days_date(x).days_since_epoch() - days_date(y).days_since_epoch();
@@ -302,16 +242,6 @@
         return dt;
       }
 
-#if BOOST_CHRONO_DATE_REL_DATE_DESIGN == 1 || BOOST_CHRONO_DATE_REL_DATE_DESIGN == 2
- friend bool operator==(const rel_date& x, const rel_date& y) BOOST_NOEXCEPT
- {
- return x.x_ == y.x_;
- }
- friend bool operator< (const rel_date& x, const rel_date& y) BOOST_NOEXCEPT
- {
- return x.x_ < y.x_;
- }
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 3
       friend bool operator==(const rel_date& x, const rel_date& y) BOOST_NOEXCEPT
       {
         return x.y_ == y.y_ && x.m_ == y.m_ && x.d_ == y.d_;
@@ -322,7 +252,6 @@
         (!(y.y_ < x.y_) && (x.m_ < y.m_ ||
                 (!(y.m_ < x.m_) && x.d_ < y.d_)));
       }
-#endif
       friend bool operator!=(const rel_date& x, const rel_date& y) BOOST_NOEXCEPT
       {
         return !(x == y);
@@ -340,57 +269,49 @@
         return !(x < y);
       }
 
-#if BOOST_CHRONO_DATE_REL_DATE_DESIGN == 2
- private:
- uint16_t day_from_day_number() const BOOST_NOEXCEPT;
- uint16_t month_from_day_number() const BOOST_NOEXCEPT;
- int16_t year_from_day_number() const BOOST_NOEXCEPT;
- bool leap_from_day_number() const BOOST_NOEXCEPT;
-#elif BOOST_CHRONO_DATE_REL_DATE_DESIGN == 3
       uint32_t day_number_from_ymd() const BOOST_NOEXCEPT;
-#endif
     };
 
     template <>
     struct is_date<rel_date> : true_type {};
 
- inline rel_date operator/(year_month ym, nth_weekday d)
+ BOOST_FORCEINLINE rel_date operator/(year_month ym, nth_weekday d)
     {
       return rel_date(year(ym), month(ym), d);
     }
- inline rel_date operator/(year_month ym, last_weekday d)
+ BOOST_FORCEINLINE rel_date operator/(year_month ym, last_weekday d)
     {
       return rel_date(year(ym), month(ym), d);
     }
- inline rel_date operator/(year_month ym, last_tag)
+ BOOST_FORCEINLINE rel_date operator/(year_month ym, last_tag)
     {
       return rel_date(year(ym), month(ym), last);
     }
 
- inline rel_date operator/(month_nth_weekday md, chrono::year y)
+ BOOST_FORCEINLINE rel_date operator/(month_nth_weekday md, chrono::year y)
     {
       return rel_date(y, month(md), nth_weekday(md));
     }
- inline rel_date operator/(month_last_weekday md, chrono::year y)
+ BOOST_FORCEINLINE rel_date operator/(month_last_weekday md, chrono::year y)
     {
       return rel_date(y, month(md), last_weekday(md));
     }
 
- inline rel_date operator/(month_nth_weekday md, year::rep y)
+ BOOST_FORCEINLINE rel_date operator/(month_nth_weekday md, year::rep y)
     {
       return md / chrono::year(y);
     }
- inline rel_date operator/(month_last_weekday md, year::rep y)
+ BOOST_FORCEINLINE rel_date operator/(month_last_weekday md, year::rep y)
     {
       return md / chrono::year(y);
     }
 
- inline rel_date operator/(month_nth md, chrono::year y)
+ BOOST_FORCEINLINE rel_date operator/(month_nth md, chrono::year y)
     {
       return rel_date(y, month(md), last);
     }
 
- inline rel_date operator/(month_nth md, year::rep y)
+ BOOST_FORCEINLINE rel_date operator/(month_nth md, year::rep y)
     {
       return md / chrono::year(y);
     }

Modified: sandbox/chrono_date/boost/chrono/date/tuples.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/tuples.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/tuples.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -24,6 +24,31 @@
 {
   namespace chrono
   {
+ namespace chrono_detail
+ {
+#ifndef BOOST_NO_CXX11_CONSTEXPR
+ BOOST_STATIC_CONSTEXPR day_rep leap_days_in_year_before_[13] =
+ { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 };
+
+ BOOST_FORCEINLINE static BOOST_CONSTEXPR
+ day_rep leap_days_in_year_before(int d) BOOST_NOEXCEPT { return leap_days_in_year_before_[d]; }
+
+ BOOST_STATIC_CONSTEXPR day_rep normal_days_in_year_before_[13] =
+ { -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364 };
+ BOOST_FORCEINLINE static BOOST_CONSTEXPR
+ day_rep normal_days_in_year_before(int d) BOOST_NOEXCEPT { return normal_days_in_year_before_[d]; }
+#else
+ extern day_rep leap_days_in_year_before_[];
+ BOOST_FORCEINLINE
+ day_rep leap_days_in_year_before(int d) BOOST_NOEXCEPT { return leap_days_in_year_before_[d]; }
+ extern day_rep normal_days_in_year_before_[];
+ BOOST_FORCEINLINE
+ day_rep normal_days_in_year_before(int d) BOOST_NOEXCEPT { return normal_days_in_year_before_[d]; }
+
+#endif
+
+ }
+
     namespace unchecked
     {
       /**
@@ -75,7 +100,22 @@
         {
           return y_.days_in_month(m_);
         }
-
+ /**
+ * @Returns the number of days since the epoch until the first day of this year/month.
+ */
+ BOOST_FORCEINLINE BOOST_CONSTEXPR days days_since_start_of_year() const BOOST_NOEXCEPT
+ {
+ return (y_.is_leap())
+ ? days(chrono_detail::leap_days_in_year_before(m_)+1)
+ : days(chrono_detail::normal_days_in_year_before(m_)+1)
+ ; }
+ /**
+ * @Returns the number of days since the epoch until the first day of this year/month.
+ */
+ BOOST_FORCEINLINE BOOST_CONSTEXPR days days_since_epoch() const BOOST_NOEXCEPT
+ {
+ return y_.days_since_epoch() + days_since_start_of_year();
+ }
         year_month& operator+=(months m) BOOST_NOEXCEPT;
         BOOST_FORCEINLINE year_month& operator++() BOOST_NOEXCEPT
         {

Modified: sandbox/chrono_date/boost/chrono/date/week.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/week.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/week.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/weekday.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/weekday.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/weekday.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/ydoy_date.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/ydoy_date.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/ydoy_date.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // ydoy_date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/boost/chrono/date/year.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/year.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/year.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -20,6 +20,7 @@
 {
   namespace chrono
   {
+
     /**
      * year tag
      */
@@ -80,9 +81,9 @@
         return m.days_in(is_leap());
       }
       /**
- * @Returns the number of days since the epoch until the fist day of this year.
+ * @Returns the number of days since the epoch until the first day of this year.
        */
- BOOST_FORCEINLINE days days_since_epoch() const BOOST_NOEXCEPT
+ BOOST_FORCEINLINE BOOST_CONSTEXPR days days_since_epoch() const BOOST_NOEXCEPT
       {
         return days(days_before_year(value()));
       }

Modified: sandbox/chrono_date/boost/chrono/date/ymd_date.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/ymd_date.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/ymd_date.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // ymd_date
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/build/Jamfile.v2
==============================================================================
--- sandbox/chrono_date/libs/date/build/Jamfile.v2 (original)
+++ sandbox/chrono_date/libs/date/build/Jamfile.v2 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,6 +1,6 @@
 # Boost Chrono Library Build Jamfile
 
-# Copyright Vicente J. Botet Escriba 2011
+# Copyright Vicente J. Botet Escriba 2011-2013
 
 # Distributed under the Boost Software License, Version 1.0.
 # (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)

Modified: sandbox/chrono_date/libs/date/doc/date.qbk
==============================================================================
--- sandbox/chrono_date/libs/date/doc/date.qbk (original)
+++ sandbox/chrono_date/libs/date/doc/date.qbk 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,5 +1,5 @@
 [/
- / Copyright (c) 2012 Vicente J. Botet Escriba
+ / Copyright (c) 2012-2013 Vicente J. Botet Escriba
  /
  / Distributed under the Boost Software License, Version 1.0. (See accompanying
  / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Modified: sandbox/chrono_date/libs/date/example/ex_julian.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/example/ex_julian.cpp (original)
+++ sandbox/chrono_date/libs/date/example/ex_julian.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // ex_julian.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/example/ex_week_based_year.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/example/ex_week_based_year.cpp (original)
+++ sandbox/chrono_date/libs/date/example/ex_week_based_year.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // week_base_year.hpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/example/hello_world.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/example/hello_world.cpp (original)
+++ sandbox/chrono_date/libs/date/example/hello_world.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // hello_world.cpp ----------------------------------------------------------//
 
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/example/julian.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/example/julian.cpp (original)
+++ sandbox/chrono_date/libs/date/example/julian.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // julian.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/example/julian.hpp
==============================================================================
--- sandbox/chrono_date/libs/date/example/julian.hpp (original)
+++ sandbox/chrono_date/libs/date/example/julian.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // julian
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/example/week_based_year.hpp
==============================================================================
--- sandbox/chrono_date/libs/date/example/week_based_year.hpp (original)
+++ sandbox/chrono_date/libs/date/example/week_based_year.hpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // week_base_year.hpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/index.html
==============================================================================
--- sandbox/chrono_date/libs/date/index.html (original)
+++ sandbox/chrono_date/libs/date/index.html 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -5,7 +5,7 @@
     <body>
         Automatic redirection failed, please go to
         <a href="../../doc/html/date.html">../../doc/html/date.html</a>
- <p>&copy; Copyright 2009-2010 Vicente J. Botet Escrib&aacute;.
+ <p>&copy; Copyright 2011-2013 Vicente J. Botet Escrib&aacute;.
         Distributed under the Boost Software
         License, Version 1.0. (See accompanying file <a href="../../LICENSE_1_0.txt">
             LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">

Modified: sandbox/chrono_date/libs/date/perf/Jamfile.v2
==============================================================================
--- sandbox/chrono_date/libs/date/perf/Jamfile.v2 (original)
+++ sandbox/chrono_date/libs/date/perf/Jamfile.v2 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 # Boost Chrono Library test Jamfile
 
 # Copyright Beman Dawes 2008
-# Copyright Vicente J. Botet Escriba 2009-2010
+# Copyright Vicente J. Botet Escriba 2011-2013
 
 # Distributed under the Boost Software License, Version 1.0.
 # See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt

Modified: sandbox/chrono_date/libs/date/perf/serial_calendar_conversions.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/perf/serial_calendar_conversions.cpp (original)
+++ sandbox/chrono_date/libs/date/perf/serial_calendar_conversions.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2013 Vicente J. Botet Escriba
 
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt

Modified: sandbox/chrono_date/libs/date/src/conversions.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/src/conversions.cpp (original)
+++ sandbox/chrono_date/libs/date/src/conversions.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/src/days_date.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/src/days_date.cpp (original)
+++ sandbox/chrono_date/libs/date/src/days_date.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // days_date.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/src/rel_date.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/src/rel_date.cpp (original)
+++ sandbox/chrono_date/libs/date/src/rel_date.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/src/vars.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/src/vars.cpp (original)
+++ sandbox/chrono_date/libs/date/src/vars.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // date.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).
@@ -96,17 +96,22 @@
 
     namespace chrono_detail
     {
-#ifndef BOOST_NO_CXX11_CONSTEXPR
-#else
+#ifdef BOOST_NO_CXX11_CONSTEXPR
       day_rep leap_days_in_month_[13] =
         { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
 
       day_rep normal_days_in_month_[13] =
         { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
+
+ day_rep leap_days_in_year_before_[13] =
+ { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 };
+
+ day_rep normal_days_in_year_before_[13] =
+ { -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364 };
+
 #endif
     }
 
-
 // days year::days_in_month(month m) const BOOST_NOEXCEPT
 // {
 // return days(days_in_month_[is_leap()][m]);

Modified: sandbox/chrono_date/libs/date/src/ydoy_date.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/src/ydoy_date.cpp (original)
+++ sandbox/chrono_date/libs/date/src/ydoy_date.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // ydoy_date.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/src/ymd_date.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/src/ymd_date.cpp (original)
+++ sandbox/chrono_date/libs/date/src/ymd_date.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,7 +1,7 @@
 // ymd_date.cpp
 //
 // (C) Copyright Howard Hinnant
-// Copyright 2011 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Use, modification and distribution are subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt).

Modified: sandbox/chrono_date/libs/date/test/Jamfile.v2
==============================================================================
--- sandbox/chrono_date/libs/date/test/Jamfile.v2 (original)
+++ sandbox/chrono_date/libs/date/test/Jamfile.v2 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,6 +1,6 @@
 # Boost Chrono.Date Library test Jamfile
 
-# Copyright Vicente J. Botet Escriba 2011
+# Copyright Vicente J. Botet Escriba 2011-2013
 
 # Distributed under the Boost Software License, Version 1.0.
 # See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt

Modified: sandbox/chrono_date/libs/date/test/dates/days/days_date_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/dates/days/days_date_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/dates/days/days_date_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/dates/days/nth_days_date_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/dates/days/nth_days_date_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/dates/days/nth_days_date_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/dates/ydoy/ydoy_date_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/dates/ydoy/ydoy_date_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/dates/ydoy/ydoy_date_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/dates/ymd/ymd_date_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/dates/ymd/ymd_date_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/dates/ymd/ymd_date_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/day_of_year_fail.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/day_of_year_fail.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/day_of_year_fail.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/day_of_year_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/day_of_year_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/day_of_year_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/day_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/day_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/day_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/month_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/month_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/month_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/nth_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/nth_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/nth_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/nth_week_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/nth_week_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/nth_week_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/week_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/week_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/week_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/weekday_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/weekday_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/weekday_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 

Modified: sandbox/chrono_date/libs/date/test/wrappers/year_pass.cpp
==============================================================================
--- sandbox/chrono_date/libs/date/test/wrappers/year_pass.cpp (original)
+++ sandbox/chrono_date/libs/date/test/wrappers/year_pass.cpp 2013-05-19 20:43:48 EDT (Sun, 19 May 2013)
@@ -1,4 +1,4 @@
-// Copyright 2010 Vicente J. Botet Escriba
+// Copyright 2011-2013 Vicente J. Botet Escriba
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk