Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / date_time / local_time / tz_database.hpp
1 #ifndef BOOST_DATE_TIME_TZ_DATABASE_HPP__
2 #define BOOST_DATE_TIME_TZ_DATABASE_HPP__
3
4 /* Copyright (c) 2003-2004 CrystalClear Software, Inc.
5  * Subject to the Boost Software License, Version 1.0. 
6  * (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
7  * Author: Jeff Garland, Bart Garst
8  * $Date$
9  */
10
11 #include <string>
12 #include "boost/date_time/local_time/custom_time_zone.hpp"
13 #include "boost/date_time/local_time/dst_transition_day_rules.hpp"
14 #include "boost/date_time/tz_db_base.hpp"
15
16
17 namespace boost {
18 namespace local_time {
19
20   using date_time::data_not_accessible; 
21   using date_time::bad_field_count; 
22
23   //! Object populated with boost::shared_ptr<time_zone_base> objects
24   /*! Object populated with boost::shared_ptr<time_zone_base> objects
25    * Database is populated from specs stored in external csv file. See
26    * date_time::tz_db_base for greater detail */
27   typedef date_time::tz_db_base<custom_time_zone, nth_kday_dst_rule> tz_database;
28
29 }} // namespace
30
31 #endif // BOOST_DATE_TIME_TZ_DATABASE_HPP__
32