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_IMPL_ICU_GET_TIME_ZONE_HPP 9 #define BOOST_LOCALE_IMPL_ICU_GET_TIME_ZONE_HPP 10 11 #include <unicode/calendar.h> 12 #include <string> 13 14 namespace boost { 15 namespace locale { 16 namespace impl_icu { 17 18 // Provides a workaround for an ICU default timezone bug and also 19 // handles time_zone string correctly - if empty returns default 20 // otherwise returns the instance created with time_zone 21 icu::TimeZone *get_time_zone(std::string const &time_zone); 22 } 23 } 24 } 25 #endif 26 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 27