Blame view

3rdparty/boost_1_81_0/boost/chrono/io/timezone.hpp 842 Bytes
63e88f80   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  //  (C) Copyright Howard Hinnant
  //  (C) Copyright 2010-2011 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).
  //
  // This code was adapted by Vicente from Howard Hinnant's experimental work
  // on chrono i/o to Boost
  
  #ifndef BOOST_CHRONO_IO_TIMEZONE_HPP
  #define BOOST_CHRONO_IO_TIMEZONE_HPP
  
  #include <boost/core/scoped_enum.hpp>
  
  namespace boost
  {
    namespace chrono
    {
      /**
       * Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local.
       */
      BOOST_SCOPED_ENUM_DECLARE_BEGIN(timezone)
            {
              utc, local
            }
      BOOST_SCOPED_ENUM_DECLARE_END(timezone)
  
    } // chrono
  } // boost
  
  #endif  // header