test_doc
首页
模块
类
文件
函数
test_hikyuu_Datetime
test_hikyuu_datetime_suite
函数
BOOST_AUTO_TEST_CASE
(test_Datetime)
BOOST_AUTO_TEST_CASE
(test_Datetime_related_operator)
详细描述
函数说明
BOOST_AUTO_TEST_CASE
(
test_Datetime
)
检测点
默认无参构造函数返回Null<Datetime>()
从Null<unsigned long long>()构造
从bd::date 隐式构造
非法年份
非法月份
非法日期
非法小时
非法分钟
属性读取
正常日期转化为unsigned long long
Null<Datetime>()转化为number
测试 toString
测试 dayOfWeek
测试 dayOfYear
测试 dateOfWeek
测试 startOfWeek
测试 endOfWeek
测试 startOfMonth
测试 endOfMonth
测试 startOfQuarter
测试 endOfQuarter
测试 startOfHalfyear
测试 endOfHalfyear
测试 startOfYear
测试 endOfYear
测试 nextDay
测试 nextWeek
测试 nextMonth
测试 nextQuarter
测试 nextHalfyear
测试 nextYear
测试 preDay
测试 preWeek
测试 preMonth
测试 preQuarter
测试 preHalfyear()
测试 preYear
在文件
test_datetime.cpp
第
27
行定义.
BOOST_AUTO_TEST_CASE
(
test_Datetime_related_operator
)
检测点
小于比较
在文件
test_datetime.cpp
第
375
行定义.
1.8.11