tz_database.hpp 1.0 KB

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