x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
gregorian_types.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\date_time\gregorian\gregorian_types.hpp
旋转
特效
属性
历史版本
#ifndef _GREGORIAN_TYPES_HPP__ #define _GREGORIAN_TYPES_HPP__ /* Copyright (c) 2002,2003 CrystalClear Software, Inc. * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) * Author: Jeff Garland, Bart Garst * $Date: 2008-02-27 15:00:24 -0500 (Wed, 27 Feb 2008) $ */ /*! @file gregorian_types.hpp Single file header that defines most of the types for the gregorian date-time system. */ #include "boost/date_time/date.hpp" #include "boost/date_time/period.hpp" #include "boost/date_time/gregorian/greg_calendar.hpp" #include "boost/date_time/gregorian/greg_duration.hpp" #if defined(BOOST_DATE_TIME_OPTIONAL_GREGORIAN_TYPES) #include "boost/date_time/gregorian/greg_duration_types.hpp" #endif #include "boost/date_time/gregorian/greg_date.hpp" #include "boost/date_time/date_generators.hpp" #include "boost/date_time/date_clock_device.hpp" #include "boost/date_time/date_iterator.hpp" #include "boost/date_time/adjust_functors.hpp" namespace boost { //! Gregorian date system based on date_time components /*! This date system defines a full complement of types including * a date, date_duration, date_period, day_clock, and a * day_iterator. */ namespace gregorian { //! Date periods for the gregorian system /*!\ingroup date_basics */ typedef date_time::period
date_period; //! A unifying date_generator base type /*! A unifying date_generator base type for: * partial_date, nth_day_of_the_week_in_month, * first_day_of_the_week_in_month, and last_day_of_the_week_in_month */ typedef date_time::year_based_generator
year_based_generator; //! A date generation object type typedef date_time::partial_date
partial_date; typedef date_time::nth_kday_of_month
nth_kday_of_month; typedef nth_kday_of_month nth_day_of_the_week_in_month; typedef date_time::first_kday_of_month
first_kday_of_month; typedef first_kday_of_month first_day_of_the_week_in_month; typedef date_time::last_kday_of_month
last_kday_of_month; typedef last_kday_of_month last_day_of_the_week_in_month; typedef date_time::first_kday_after
first_kday_after; typedef first_kday_after first_day_of_the_week_after; typedef date_time::first_kday_before
first_kday_before; typedef first_kday_before first_day_of_the_week_before; //! A clock to get the current day from the local computer /*!\ingroup date_basics */ typedef date_time::day_clock
day_clock; //! Base date_iterator type for gregorian types. /*!\ingroup date_basics */ typedef date_time::date_itr_base
date_iterator; //! A day level iterator /*!\ingroup date_basics */ typedef date_time::date_itr
, date> day_iterator; //! A week level iterator /*!\ingroup date_basics */ typedef date_time::date_itr
, date> week_iterator; //! A month level iterator /*!\ingroup date_basics */ typedef date_time::date_itr
, date> month_iterator; //! A year level iterator /*!\ingroup date_basics */ typedef date_time::date_itr
, date> year_iterator; // bring in these date_generator functions from date_time namespace using date_time::days_until_weekday; using date_time::days_before_weekday; using date_time::next_weekday; using date_time::previous_weekday; } } //namespace gregorian #endif
gregorian_types.hpp
网页地址
文件地址
上一页
18/19
下一页
下载
( 3 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.