Chris@16: // Chris@16: // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: #ifndef BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED Chris@16: #define BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED Chris@16: Chris@16: #include Chris@16: #ifdef BOOST_MSVC Chris@16: # pragma warning(push) Chris@16: # pragma warning(disable : 4275 4251 4231 4660) Chris@16: #endif Chris@16: Chris@16: #include Chris@16: Chris@16: Chris@16: namespace boost { Chris@16: namespace locale { Chris@16: /// Chris@16: /// \addtogroup date_time Chris@16: /// Chris@16: /// @{ Chris@16: Chris@16: /// Chris@16: /// \brief namespace that holds functions for operating with global Chris@16: /// time zone Chris@16: /// Chris@16: namespace time_zone { Chris@16: /// Chris@16: /// Get global time zone identifier. If empty, system time zone is used Chris@16: /// Chris@16: BOOST_LOCALE_DECL std::string global(); Chris@16: /// Chris@16: /// Set global time zone identifier returning previous one. If empty, system time zone is used Chris@16: /// Chris@16: BOOST_LOCALE_DECL std::string global(std::string const &new_tz); Chris@16: } Chris@16: Chris@16: /// @} Chris@16: Chris@16: } // locale Chris@16: } // boost Chris@16: Chris@16: #ifdef BOOST_MSVC Chris@16: #pragma warning(pop) Chris@16: #endif Chris@16: Chris@16: Chris@16: #endif Chris@16: Chris@16: // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4