Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:48

0001 //  (C) Copyright Howard Hinnant
0002 //  (C) Copyright 2010-2011 Vicente J. Botet Escriba
0003 //  Use, modification and distribution are subject to the Boost Software License,
0004 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 //  http://www.boost.org/LICENSE_1_0.txt).
0006 //
0007 // This code was adapted by Vicente from Howard Hinnant's experimental work
0008 // on chrono i/o to Boost
0009 
0010 #ifndef BOOST_CHRONO_IO_TIMEZONE_HPP
0011 #define BOOST_CHRONO_IO_TIMEZONE_HPP
0012 
0013 #include <boost/core/scoped_enum.hpp>
0014 
0015 namespace boost
0016 {
0017   namespace chrono
0018   {
0019     /**
0020      * Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local.
0021      */
0022     BOOST_SCOPED_ENUM_DECLARE_BEGIN(timezone)
0023           {
0024             utc, local
0025           }
0026     BOOST_SCOPED_ENUM_DECLARE_END(timezone)
0027 
0028   } // chrono
0029 } // boost
0030 
0031 #endif  // header