Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/locale/time_zone.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 // |
Chris@16 | 2 // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh) |
Chris@16 | 3 // |
Chris@16 | 4 // Distributed under the Boost Software License, Version 1.0. (See |
Chris@16 | 5 // accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 6 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 7 // |
Chris@16 | 8 #ifndef BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED |
Chris@16 | 9 #define BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED |
Chris@16 | 10 |
Chris@16 | 11 #include <boost/locale/config.hpp> |
Chris@16 | 12 #ifdef BOOST_MSVC |
Chris@16 | 13 # pragma warning(push) |
Chris@16 | 14 # pragma warning(disable : 4275 4251 4231 4660) |
Chris@16 | 15 #endif |
Chris@16 | 16 |
Chris@16 | 17 #include <string> |
Chris@16 | 18 |
Chris@16 | 19 |
Chris@16 | 20 namespace boost { |
Chris@16 | 21 namespace locale { |
Chris@16 | 22 /// |
Chris@16 | 23 /// \addtogroup date_time |
Chris@16 | 24 /// |
Chris@16 | 25 /// @{ |
Chris@16 | 26 |
Chris@16 | 27 /// |
Chris@16 | 28 /// \brief namespace that holds functions for operating with global |
Chris@16 | 29 /// time zone |
Chris@16 | 30 /// |
Chris@16 | 31 namespace time_zone { |
Chris@16 | 32 /// |
Chris@16 | 33 /// Get global time zone identifier. If empty, system time zone is used |
Chris@16 | 34 /// |
Chris@16 | 35 BOOST_LOCALE_DECL std::string global(); |
Chris@16 | 36 /// |
Chris@16 | 37 /// Set global time zone identifier returning previous one. If empty, system time zone is used |
Chris@16 | 38 /// |
Chris@16 | 39 BOOST_LOCALE_DECL std::string global(std::string const &new_tz); |
Chris@16 | 40 } |
Chris@16 | 41 |
Chris@16 | 42 /// @} |
Chris@16 | 43 |
Chris@16 | 44 } // locale |
Chris@16 | 45 } // boost |
Chris@16 | 46 |
Chris@16 | 47 #ifdef BOOST_MSVC |
Chris@16 | 48 #pragma warning(pop) |
Chris@16 | 49 #endif |
Chris@16 | 50 |
Chris@16 | 51 |
Chris@16 | 52 #endif |
Chris@16 | 53 |
Chris@16 | 54 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 |