Home
last modified time | relevance | path

Searched refs:a_datetime (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/libs/locale/test/
Dtest_formatting.cpp311 time_t a_datetime = a_date + a_time + a_timesec; in test_manip() local
313 TEST_FP2(as::date, as::gmt,a_datetime,"Feb 5, 1970",time_t,a_date); in test_manip()
314 TEST_FP3(as::date,as::date_short ,as::gmt,a_datetime,"2/5/70",time_t,a_date); in test_manip()
315 TEST_FP3(as::date,as::date_medium,as::gmt,a_datetime,"Feb 5, 1970",time_t,a_date); in test_manip()
316 TEST_FP3(as::date,as::date_long ,as::gmt,a_datetime,"February 5, 1970",time_t,a_date); in test_manip()
317 … TEST_FP3(as::date,as::date_full ,as::gmt,a_datetime,"Thursday, February 5, 1970",time_t,a_date); in test_manip()
327 TEST_FP2(as::time, as::gmt,a_datetime,"3:33:13 PM",time_t,a_time+a_timesec); in test_manip()
328 TEST_FP3(as::time,as::time_short ,as::gmt,a_datetime,"3:33 PM",time_t,a_time); in test_manip()
329 TEST_FP3(as::time,as::time_medium,as::gmt,a_datetime,"3:33:13 PM",time_t,a_time+a_timesec); in test_manip()
331 TEST_FP3(as::time,as::time_long ,as::gmt,a_datetime,"3:33:13 PM GMT",time_t,a_time+a_timesec); in test_manip()
[all …]
Dtest_winapi_formatting.cpp160 time_t a_datetime = a_date + a_time + a_timesec; in test_by_char() local
164 ss << as::date << a_datetime << CharType('\n'); in test_by_char()
165 ss << as::time << a_datetime << CharType('\n'); in test_by_char()
166 ss << as::datetime << a_datetime << CharType('\n'); in test_by_char()
168 ss << as::ftime(conv_to_char<CharType>("%H")) << a_datetime << CharType('\n'); in test_by_char()
170 ss << as::ftime(conv_to_char<CharType>("%M")) << a_datetime << CharType('\n'); in test_by_char()
195 time_t a_datetime = a_date + a_time + a_timesec; in test_date_time() local
223 ss << boost::locale::as::ftime("%" + pat[i]) << a_datetime; in test_date_time()
Dtest_posix_formatting.cpp142 time_t a_datetime = a_date + a_time + a_timesec; in test_by_char() local
146 ss << as::date << a_datetime << CharType('\n'); in test_by_char()
147 ss << as::time << a_datetime << CharType('\n'); in test_by_char()
148 ss << as::datetime << a_datetime << CharType('\n'); in test_by_char()
150 ss << as::ftime(conv_to_char<CharType>("%H")) << a_datetime << CharType('\n'); in test_by_char()
152 ss << as::ftime(conv_to_char<CharType>("%M")) << a_datetime << CharType('\n'); in test_by_char()
154 std::tm tm=*gmtime(&a_datetime); in test_by_char()
Dtest_std_formatting.cpp181 time_t a_datetime = a_date + a_time + a_timesec; in test_by_char() local
185 ss << as::date << a_datetime << CharType('\n'); in test_by_char()
186 ss << as::time << a_datetime << CharType('\n'); in test_by_char()
187 ss << as::datetime << a_datetime << CharType('\n'); in test_by_char()
189 ss << as::ftime(conv_to_char<CharType>("%H")) << a_datetime << CharType('\n'); in test_by_char()
191 ss << as::ftime(conv_to_char<CharType>("%M")) << a_datetime << CharType('\n'); in test_by_char()
198 std::tm tm=*gmtime(&a_datetime); in test_by_char()
Dtest_date_time.cpp105 time_t a_datetime = a_date + a_time + a_timesec; in main() local
107 date_time base_time_point=date_time(a_datetime); in main()
183 time_point=date_time(a_datetime,calendar(g("ru_RU.UTF-8"))); in main()
244 TEST(date_time(a_datetime,calendar("GMT+01:00")).get(hour()) ==16); in main()
/third_party/python/Misc/
DHISTORY19766 ``a_date.__eq__(a_datetime)`` is true if and only if the year, month
19767 and day members of ``a_date`` and ``a_datetime`` are equal.