Home
last modified time | relevance | path

Searched refs:time_period (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/libs/date_time/test/posix_time/
Dtesttime_period.cpp20 time_period p1(t1,t2); //2001-Jan-1 02:59:59 in main()
21 time_period p2(p1); in main()
23 time_period p3 = p2; in main()
25 time_period p4(t1,hours(1)); in main()
41 time_period p5(t2,t3); in main()
52 time_period p6(p5); in main()
67 time_period p7 = p5.intersection(p6); in main()
70 p7 == time_period(ptime(d1,time_duration(3,30,0)), in main()
Dteststreams.cpp44 time_period tp(t1, ptime(d1, hours(23)+time_duration::unit())); in main()
134 time_period result(ptime(d1x,td1x), ptime(d2x,td2x)); in main()
157 time_period result = time_period(ptime(d1x,td1x), ptime(d2x,td2x)); in main()
Dtesttime_serialize.cpp36 time_period tp(pt, ptime(date(2002, Oct, 31), hours(19))); in main()
45 time_period tp2(pt2, hours(1)); in main()
Dtesttime_input_facet.cpp81 time_period tp(pt, td); in do_all_tests()
339 time_period tpx(pt2, ptx); // ptime/nadt in do_all_tests()
340 time_period tp2(ptx, ptx); // nadt/nadt in do_all_tests()
341 time_period tp3(pt3, pt4); in do_all_tests()
Dtesttime_wstream.cpp31 time_period tp(ptime(d1,hours(1)), ptime(d2,hours(15))); in main()
Dtesttime_formatters.cpp69 time_period p1(t1,t2); //last value in period is 12:05:00 1/10000 sec less than t2 in main()
Dtesttime_facet.cpp55 time_period tp(t, tf + days(7) + time_duration(1,1,1)); in main()
/third_party/boost/libs/date_time/example/posix_time/
Dtime_periods.cpp16 class day_period : public time_period
19 day_period(date d) : time_period(ptime(d),//midnight in day_period()
38 time_period part_of_day(ptime(d, hours(0)), t); in main()
41 time_period result = part_of_day.intersection(dp); in main()
/third_party/boost/boost/date_time/posix_time/
Dtime_serialize.hpp50 BOOST_DATE_TIME_SPLIT_FREE(boost::posix_time::time_period) in BOOST_DATE_TIME_SPLIT_FREE()
219 const posix_time::time_period& tp, in save()
234 boost::posix_time::time_period & tp, in load()
243 tp = boost::posix_time::time_period(beg, end); in load()
249 boost::posix_time::time_period* tp, in load_construct_data()
256 new(tp) boost::posix_time::time_period(beg,end); in load_construct_data()
Dposix_time_legacy_io.hpp61 operator<<(std::basic_ostream<charT, traits>& os, const time_period& tp) in operator <<()
63 typedef boost::date_time::ostream_time_period_formatter<time_period, charT> period_formatter; in operator <<()
107 std::basic_istream<charT>& operator>>(std::basic_istream<charT>& is, time_period& tp) in operator >>()
144 tp = time_period(beg,end); in operator >>()
Dtime_formatters.hpp190 inline std::basic_string<charT> to_simple_string_type(time_period tp) in to_simple_string_type()
200 inline std::string to_simple_string(time_period tp){ in to_simple_string()
266 inline std::wstring to_simple_wstring(time_period tp){ in to_simple_wstring()
Dtime_period.hpp22 typedef date_time::period<ptime, time_duration> time_period; typedef
Dposix_time_io.hpp113 const boost::posix_time::time_period& p) { in operator <<()
138 operator>>(std::basic_istream<CharT, Traits>& is, time_period& tp) in operator >>()
Dtime_formatters_limited.hpp169 to_simple_string(time_period tp) in to_simple_string()
/third_party/boost/boost/log/utility/type_dispatch/
Ddate_time_types.hpp75 …(boost::posix_time::time_period)(boost::local_time::local_time_period)(boost::gregorian::date_peri…