Home
last modified time | relevance | path

Searched refs:time_of_day (Results 1 – 23 of 23) sorted by relevance

/third_party/boost/libs/date_time/test/posix_time/
Dtestdst_rules.cpp76 us_dst_local::local_is_dst(t.date(), t.time_of_day())==boost::date_time::is_not_in_dst); in main()
78 … us_dst_local::local_is_dst(t3a.date(),t3a.time_of_day())==boost::date_time::invalid_time_label); in main()
80 … us_dst_local::local_is_dst(t3b.date(),t3b.time_of_day())==boost::date_time::invalid_time_label); in main()
82 us_dst_local::local_is_dst(t4.date(),t4.time_of_day())==boost::date_time::is_not_in_dst); in main()
84 us_dst_local::local_is_dst(t5.date(),t5.time_of_day())==boost::date_time::is_in_dst); in main()
87 us_dst_local::local_is_dst(t6.date(),t6.time_of_day())==boost::date_time::is_in_dst); in main()
89 us_dst_local::local_is_dst(t7.date(),t7.time_of_day())==boost::date_time::ambiguous); in main()
91 us_dst_local::local_is_dst(t8.date(),t8.time_of_day())==boost::date_time::ambiguous); in main()
93 us_dst_local::local_is_dst(t9.date(),t9.time_of_day())==boost::date_time::is_not_in_dst); in main()
100 no_dst_adj::local_is_dst(t4.date(),t4.time_of_day())==boost::date_time::is_not_in_dst); in main()
[all …]
Dtestmicrosec_time_clock.cpp28 } while (t_now.time_of_day().seconds() == t_prev.time_of_day().seconds()); in sync_to_next_second()
69 t1.time_of_day().hours() == t2.time_of_day().hours()); in main()
73 t1.time_of_day().minutes() == t2.time_of_day().minutes()); in main()
77 t1.time_of_day().seconds() == t2.time_of_day().seconds()); in main()
112 t1.time_of_day().hours() == t2.time_of_day().hours()); in main()
116 t1.time_of_day().minutes() == t2.time_of_day().minutes()); in main()
120 t1.time_of_day().seconds() == t2.time_of_day().seconds()); in main()
Dtestfiletime_functions.cpp43 st.wHour, pt.time_of_day().hours()); in main()
45 st.wMinute, pt.time_of_day().minutes()); in main()
47 st.wSecond, pt.time_of_day().seconds()); in main()
49 st.wMilliseconds, (pt.time_of_day().fractional_seconds() / adjustor)); in main()
73 0, pt.time_of_day().hours()); in main()
75 0, pt.time_of_day().minutes()); in main()
77 0, pt.time_of_day().seconds()); in main()
79 0, (pt.time_of_day().fractional_seconds() / adjustor)); in main()
Dtesttime.cpp42 static_assert(t1.time_of_day().hours() == 0, "constexpr construction hour()"); in special_values_tests()
43 static_assert(t1.time_of_day().minutes() == 0, "constexpr construction minute()"); in special_values_tests()
44 static_assert(t1.time_of_day().seconds() == 0, "constexpr construction second()"); in special_values_tests()
46 static_assert(t2.time_of_day().hours() == 1, "constexpr contruct with duration hour()"); in special_values_tests()
47 static_assert(t2.time_of_day().minutes() == 2, "constexpr contruct with duration minute()"); in special_values_tests()
48 static_assert(t2.time_of_day().seconds() == 3, "constexpr contruct with duration second()"); in special_values_tests()
116 to_simple_string(p_sv2.time_of_day()) == s); in special_values_tests()
122 to_simple_string(p_sv3.time_of_day()) == s); in special_values_tests()
161 check("time part check", t1.time_of_day() == td); in main()
166 check("time part check", t3.time_of_day() == td); in main()
/third_party/boost/boost/date_time/posix_time/
Dposix_time_config.hpp86 time_of_day(tod) in simple_time_rep()
89 if(!day.is_special() && !time_of_day.is_special()){ in simple_time_rep()
90 if(time_of_day >= time_duration_type(24,0,0)) { in simple_time_rep()
91 while(time_of_day >= time_duration_type(24,0,0)) { in simple_time_rep()
93 time_of_day -= time_duration_type(24,0,0); in simple_time_rep()
96 else if(time_of_day.is_negative()) { in simple_time_rep()
97 while(time_of_day.is_negative()) { in simple_time_rep()
99 time_of_day += time_duration_type(24,0,0); in simple_time_rep()
105 time_duration_type time_of_day; member
112 return(day.is_pos_infinity() || time_of_day.is_pos_infinity()); in is_pos_infinity()
[all …]
Dtime_formatters_limited.hpp156 if(!t.time_of_day().is_special()) { in to_simple_string()
157 return ts + " " + to_simple_string(t.time_of_day()); in to_simple_string()
183 if(!t.time_of_day().is_special()) { in to_iso_string()
184 return ts + "T" + to_iso_string(t.time_of_day()); in to_iso_string()
199 if(!t.time_of_day().is_special()) { in to_iso_extended_string()
200 return ts + "T" + to_simple_string(t.time_of_day()); in to_iso_extended_string()
Dtime_formatters.hpp175 if(!t.time_of_day().is_special()) { in to_simple_string_type()
177 return ts + space + to_simple_string_type<charT>(t.time_of_day()); in to_simple_string_type()
210 if(!t.time_of_day().is_special()) { in to_iso_string_type()
212 return ts + sep + to_iso_string_type<charT>(t.time_of_day()); in to_iso_string_type()
232 if(!t.time_of_day().is_special()) { in to_iso_extended_string_type()
234 return ts + sep + to_simple_string_type<charT>(t.time_of_day()); in to_iso_extended_string_type()
Dtime_serialize.hpp171 posix_time::ptime::time_duration_type td = pt.time_of_day(); in save()
222 posix_time::ptime beg(tp.begin().date(), tp.begin().time_of_day()); in save()
223 posix_time::ptime end(tp.end().date(), tp.end().time_of_day()); in save()
Dconversion.hpp43 boost::posix_time::time_duration td = t.time_of_day(); in to_tm()
/third_party/boost/boost/date_time/
Dtime_system_split.hpp138 return time_duration_type(val.time_of_day); in get_time_of_day()
147 return ((lhs.day == rhs.day) && (lhs.time_of_day == rhs.time_of_day)); in is_equal()
154 return (lhs.time_of_day < rhs.time_of_day); in is_less()
160 return time_rep_type(base.day+dd, base.time_of_day); in add_days()
166 return split_timedate_system::get_time_rep(base.day-dd, base.time_of_day); in subtract_days()
181 wrap_int_type day_offset(base.time_of_day.ticks()); in subtract_time_duration()
199 wrap_int_type day_offset(base.time_of_day.ticks()); in add_time_duration()
212 time_duration_type td2 = lhs.time_of_day - rhs.time_of_day; in subtract_times()
216 time_duration_type td2 = lhs.time_of_day - rhs.time_of_day; in subtract_times()
Ddst_rules.hpp48 process_local_dst_start_day(const time_duration_type& time_of_day, in process_local_dst_start_day() argument
53 if (time_of_day < time_duration_type(0,dst_start_offset_minutes,0)) { in process_local_dst_start_day()
57 if (time_of_day >= time_duration_type(0,offset,0)) { in process_local_dst_start_day()
73 process_local_dst_end_day(const time_duration_type& time_of_day, in process_local_dst_end_day() argument
79 if (time_of_day < time_duration_type(0,offset,0)) { in process_local_dst_end_day()
82 if (time_of_day >= time_duration_type(0,dst_end_offset_minutes,0)) { in process_local_dst_end_day()
102 const time_duration_type& time_of_day, in local_is_dst() argument
116 return local_is_dst(current_day, time_of_day, in local_is_dst()
138 const time_duration_type& time_of_day, in local_is_dst() argument
164 return process_local_dst_start_day(time_of_day, in local_is_dst()
[all …]
Dlocal_time_adjustor.hpp114 dst_rules::local_is_dst(initial.date(), initial.time_of_day()); in utc_to_local_offset()
121 dst_flag = dst_rules::local_is_dst(retry.date(), retry.time_of_day()); in utc_to_local_offset()
148 dst_rules::local_is_dst(t.date(), t.time_of_day()); in local_to_utc_offset()
Dtime.hpp81 time_duration_type time_of_day() const in time_of_day() function in boost::date_time::base_time
162 time_ = (time_system::get_time_rep(date() + dd, time_of_day())); in operator +=()
174 time_ = (time_system::get_time_rep(date() - dd, time_of_day())); in operator -=()
Dtime_system_counted.hpp36 counted_time_rep(const date_type& d, const time_duration_type& time_of_day) in counted_time_rep()
39 if(d.is_infinity() || d.is_not_a_date() || time_of_day.is_special()) { in counted_time_rep()
40 time_count_ = time_of_day.get_rep() + d.day_count(); in counted_time_rep()
44 time_count_ = (d.day_number() * frac_sec_per_day()) + time_of_day.ticks(); in counted_time_rep()
Dc_local_time_adjustor.hpp45 time_duration_type td = t.time_of_day(); in utc_to_local()
60 t.time_of_day().fractional_seconds()); in utc_to_local()
Dtime_formatting_streams.hpp85 duration_formatter::duration_put(t.time_of_day(), os); in time_put()
Dtime_facet.hpp304 fractional_seconds_as_string(time_arg.time_of_day(), false); in put()
401 frac_str = fractional_seconds_as_string(time_arg.time_of_day(), false); in put()
411 fractional_seconds_as_string(time_arg.time_of_day(), true); in put()
/third_party/boost/boost/date_time/local_time/
Dlocal_date_time.hpp175 t.time_of_day()); in local_date_time_base()
181 t.time_of_day()); in local_date_time_base()
200 tz->dst_local_start_time(d.year()).time_of_day(), in check_dst()
202 tz->dst_local_end_time(d.year()).time_of_day(), in check_dst()
242 switch(check_dst(lt.date(), lt.time_of_day(), zone_)){ in is_dst()
Dlocal_time_io.hpp97 … ldt = local_date_time(pt.date(), pt.time_of_day(), tz_ptr, local_date_time::EXCEPTION_ON_ERROR); in operator >>()
/third_party/boost/libs/log/src/setup/
Ddefault_formatter_factory.cpp115 …::snprintf(buf + len, size, ".%.6u", static_cast< unsigned int >(value.time_of_day().total_microse…
/third_party/boost/boost/log/support/
Ddate_time.hpp109 (decompose_time_of_day)(t.time_of_day(), v); in decompose_time()
/third_party/boost/libs/log/src/
Dcore.cpp253 …seed = static_cast< uint32_t >(posix_time::microsec_clock::universal_time().time_of_day().ticks()); in get_random_seed()
Dtext_file_backend.cpp1126 …const bool time_of_day_passed = rotation_time.total_seconds() <= m_Previous.time_of_day().total_se… in operator ()()