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.
5// https://www.boost.org/LICENSE_1_0.txt
6
7#ifndef BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
8#define BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
9
10#include <boost/locale/config.hpp>
11#include <string>
12
13#ifdef BOOST_MSVC
14# pragma warning(push)
15# pragma warning(disable : 4275 4251 4231 4660)
16#endif
17
18namespace boost { namespace locale {
22
25 namespace time_zone {
27 BOOST_LOCALE_DECL std::string global();
29 BOOST_LOCALE_DECL std::string global(const std::string& new_tz);
30 } // namespace time_zone
31
33
34}} // namespace boost::locale
35
36#ifdef BOOST_MSVC
37# pragma warning(pop)
38#endif
39
40#endif
std::string global()
Get global time zone identifier. If empty, system time zone is used.