1 //  (C) Copyright Howard Hinnant
2 //  (C) Copyright 2010-2011 Vicente J. Botet Escriba
3 //  Use, modification and distribution are subject to the Boost Software License,
4 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 //  http://www.boost.org/LICENSE_1_0.txt).
6 //
7 // This code was adapted by Vicente from Howard Hinnant's experimental work
8 // on chrono i/o to Boost
9 
10 #ifndef BOOST_CHRONO_IO_TIMEZONE_HPP
11 #define BOOST_CHRONO_IO_TIMEZONE_HPP
12 #include <boost/detail/scoped_enum_emulation.hpp>
13 
14 namespace boost
15 {
16   namespace chrono
17   {
18     /**
19      * Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local.
20      */
BOOST_SCOPED_ENUM_DECLARE_BEGIN(timezone)21     BOOST_SCOPED_ENUM_DECLARE_BEGIN(timezone)
22           {
23             utc, local
24           }
25     BOOST_SCOPED_ENUM_DECLARE_END(timezone)
26 
27   } // chrono
28 } // boost
29 
30 #endif  // header
31