Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:44:58

0001 //
0002 // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0.
0005 // https://www.boost.org/LICENSE_1_0.txt
0006 
0007 #ifndef BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
0008 #define BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
0009 
0010 #include <boost/locale/config.hpp>
0011 #include <string>
0012 
0013 #ifdef BOOST_MSVC
0014 #    pragma warning(push)
0015 #    pragma warning(disable : 4275 4251 4231 4660)
0016 #endif
0017 
0018 namespace boost { namespace locale {
0019     /// \addtogroup date_time
0020     ///
0021     /// @{
0022 
0023     /// \brief namespace that holds functions for operating with global
0024     /// time zone
0025     namespace time_zone {
0026         /// Get global time zone identifier. If empty, system time zone is used
0027         BOOST_LOCALE_DECL std::string global();
0028         /// Set global time zone identifier returning previous one. If empty, system time zone is used
0029         BOOST_LOCALE_DECL std::string global(const std::string& new_tz);
0030     } // namespace time_zone
0031 
0032     /// @}
0033 
0034 }} // namespace boost::locale
0035 
0036 #ifdef BOOST_MSVC
0037 #    pragma warning(pop)
0038 #endif
0039 
0040 #endif