]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/locale/time_zone.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / locale / time_zone.hpp
1 //
2 // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 #ifndef BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
9 #define BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
10
11 #include <boost/locale/config.hpp>
12 #ifdef BOOST_MSVC
13 # pragma warning(push)
14 # pragma warning(disable : 4275 4251 4231 4660)
15 #endif
16
17 #include <string>
18
19
20 namespace boost {
21 namespace locale {
22 ///
23 /// \addtogroup date_time
24 ///
25 /// @{
26
27 ///
28 /// \brief namespace that holds functions for operating with global
29 /// time zone
30 ///
31 namespace time_zone {
32 ///
33 /// Get global time zone identifier. If empty, system time zone is used
34 ///
35 BOOST_LOCALE_DECL std::string global();
36 ///
37 /// Set global time zone identifier returning previous one. If empty, system time zone is used
38 ///
39 BOOST_LOCALE_DECL std::string global(std::string const &new_tz);
40 }
41
42 /// @}
43
44 } // locale
45 } // boost
46
47 #ifdef BOOST_MSVC
48 #pragma warning(pop)
49 #endif
50
51
52 #endif
53
54 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4