]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | |
1e59de90 TL |
12 | |
13 | #include <boost/core/scoped_enum.hpp> | |
7c673cae FG |
14 | |
15 | namespace boost | |
16 | { | |
17 | namespace chrono | |
18 | { | |
19 | /** | |
20 | * Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local. | |
21 | */ | |
22 | BOOST_SCOPED_ENUM_DECLARE_BEGIN(timezone) | |
23 | { | |
24 | utc, local | |
25 | } | |
26 | BOOST_SCOPED_ENUM_DECLARE_END(timezone) | |
27 | ||
28 | } // chrono | |
29 | } // boost | |
30 | ||
31 | #endif // header |