aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/libs/locale/src/icu/time_zone.hpp
blob: 3fbeb83f4117283272ff6a87b0061ba76e8f79fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
//  Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
//  Distributed under the Boost Software License, Version 1.0. (See
//  accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_LOCALE_IMPL_ICU_GET_TIME_ZONE_HPP
#define BOOST_LOCALE_IMPL_ICU_GET_TIME_ZONE_HPP

#include <unicode/calendar.h>
#include <string>

namespace boost {
    namespace locale {
        namespace impl_icu {

            // Provides a workaround for an ICU default timezone bug and also
            // handles time_zone string correctly - if empty returns default
            // otherwise returns the instance created with time_zone
            icu::TimeZone *get_time_zone(std::string const &time_zone);
        }
    }
}
#endif
// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4