tz_database.hpp
来自「C++的一个好库。。。现在很流行」· HPP 代码 · 共 33 行
HPP
33 行
#ifndef BOOST_DATE_TIME_TZ_DATABASE_HPP__
#define BOOST_DATE_TIME_TZ_DATABASE_HPP__
/* Copyright (c) 2003-2004 CrystalClear Software, Inc.
* Subject to the Boost Software License, Version 1.0.
* (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
* Author: Jeff Garland, Bart Garst
* $Date: 2005/05/03 14:27:53 $
*/
#include <string>
#include "boost/date_time/local_time/custom_time_zone.hpp"
#include "boost/date_time/local_time/dst_transition_day_rules.hpp"
#include "boost/date_time/tz_db_base.hpp"
namespace boost {
namespace local_time {
using date_time::data_not_accessible;
using date_time::bad_field_count;
//! Object populated with boost::shared_ptr<time_zone_base> objects
/*! Object populated with boost::shared_ptr<time_zone_base> objects
* Database is populated from specs stored in external csv file. See
* date_time::tz_db_base for greater detail */
typedef date_time::tz_db_base<custom_time_zone, nth_kday_dst_rule> tz_database;
}} // namespace
#endif // BOOST_DATE_TIME_TZ_DATABASE_HPP__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?