Home
last modified time | relevance | path

Searched refs:date_time (Results 1 – 25 of 217) sorted by relevance

123456789

/third_party/boost/libs/locale/src/shared/
Ddate_time.cpp140 date_time::date_time() : in date_time() function in boost::locale::date_time
146 date_time::date_time(date_time const &other) in date_time() function in boost::locale::date_time
151 date_time::date_time(date_time const &other,date_time_period_set const &s) in date_time() function in boost::locale::date_time
160 date_time const &date_time::operator = (date_time const &other) in operator =()
163 date_time tmp(other); in operator =()
169 date_time::~date_time() in ~date_time()
173 date_time::date_time(double t) : in date_time() function in boost::locale::date_time
180 date_time::date_time(double t,calendar const &cal) : in date_time() function in boost::locale::date_time
186 date_time::date_time(calendar const &cal) : in date_time() function in boost::locale::date_time
193 date_time::date_time(date_time_period_set const &s) : in date_time() function in boost::locale::date_time
[all …]
/third_party/boost/boost/date_time/gregorian/
Dgregorian_types.hpp41 typedef date_time::period<date, date_duration> date_period;
48 typedef date_time::year_based_generator<date> year_based_generator;
51 typedef date_time::partial_date<date> partial_date;
53 typedef date_time::nth_kday_of_month<date> nth_kday_of_month;
56 typedef date_time::first_kday_of_month<date> first_kday_of_month;
59 typedef date_time::last_kday_of_month<date> last_kday_of_month;
62 typedef date_time::first_kday_after<date> first_kday_after;
65 typedef date_time::first_kday_before<date> first_kday_before;
71 typedef date_time::day_clock<date> day_clock;
76 typedef date_time::date_itr_base<date> date_iterator;
[all …]
Dparsers.hpp29 date_time::special_values
31 static const char* const special_value_names[date_time::NumSpecialValues] in special_value_from_string()
35 short i = date_time::find_match(special_value_names, in special_value_from_string()
37 date_time::NumSpecialValues, in special_value_from_string()
39 if(i >= date_time::NumSpecialValues) { // match not found in special_value_from_string()
40 return date_time::not_special; in special_value_from_string()
43 return static_cast<date_time::special_values>(i); in special_value_from_string()
49 return date_time::parse_date<date>(s); in from_string()
54 return date_time::parse_date<date>(s, date_time::ymd_order_iso); in from_simple_string()
59 return date_time::parse_date<date>(s, date_time::ymd_order_us); in from_us_string()
[all …]
Dgreg_month.hpp21 typedef date_time::months_of_year months_of_year;
24 using date_time::Jan;
25 using date_time::Feb;
26 using date_time::Mar;
27 using date_time::Apr;
28 using date_time::May;
29 using date_time::Jun;
30 using date_time::Jul;
31 using date_time::Aug;
32 using date_time::Sep;
[all …]
Dformatters_limited.hpp25 return date_time::date_formatter<date,date_time::simple_format<char> >::date_to_string(d); in to_simple_string()
33 …std::string d1(date_time::date_formatter<date,date_time::simple_format<char> >::date_to_string(d.b… in to_simple_string()
34 …std::string d2(date_time::date_formatter<date,date_time::simple_format<char> >::date_to_string(d.l… in to_simple_string()
42 …std::string s(date_time::date_formatter<date,date_time::iso_format<char> >::date_to_string(d.begin… in to_iso_string()
43 …return s + "/" + date_time::date_formatter<date,date_time::iso_format<char> >::date_to_string(d.la… in to_iso_string()
51 return date_time::date_formatter<date,date_time::iso_extended_format<char> >::date_to_string(d); in to_iso_extended_string()
58 return date_time::date_formatter<date,date_time::iso_format<char> >::date_to_string(d); in to_iso_string()
Dgreg_date.hpp23 using date_time::special_values;
24 using date_time::not_special;
25 using date_time::neg_infin;
26 using date_time::pos_infin;
27 using date_time::not_a_date_time;
28 using date_time::max_date_time;
29 using date_time::min_date_time;
38 class BOOST_SYMBOL_VISIBLE date : public date_time::date<date, gregorian_calendar, date_duration>
52date_time::date<date, gregorian_calendar, date_duration>(date_rep_type::from_special(not_a_date_ti… in date()
57 : date_time::date<date, gregorian_calendar, date_duration>(y, m, d) in date()
[all …]
Dformatters.hpp34 return date_time::date_formatter<date,date_time::simple_format<charT>,charT>::date_to_string(d); in to_simple_string_type()
50 …string_type d1(date_time::date_formatter<date,date_time::simple_format<charT>,charT>::date_to_stri… in to_simple_string_type()
51 …string_type d2(date_time::date_formatter<date,date_time::simple_format<charT>,charT>::date_to_stri… in to_simple_string_type()
65 …std::basic_string<charT> s(date_time::date_formatter<date,date_time::iso_format<charT>,charT>::dat… in to_iso_string_type()
66 …return s + sep + date_time::date_formatter<date,date_time::iso_format<charT>,charT>::date_to_strin… in to_iso_string_type()
79 …return date_time::date_formatter<date,date_time::iso_extended_format<charT>,charT>::date_to_string… in to_iso_extended_string_type()
91 return date_time::date_formatter<date,date_time::iso_format<charT>,charT>::date_to_string(d); in to_iso_string_type()
Dgreg_weekday.hpp22 using date_time::Sunday;
23 using date_time::Monday;
24 using date_time::Tuesday;
25 using date_time::Wednesday;
26 using date_time::Thursday;
27 using date_time::Friday;
28 using date_time::Saturday;
43 typedef boost::date_time::weekdays weekday_enum;
Dgreg_facet.hpp34 typedef boost::date_time::special_values special_value_enum;
36 typedef boost::date_time::weekdays weekday_enum;
41 typedef boost::date_time::date_names_put<greg_facet_config> greg_base_facet;
55 typedef boost::date_time::date_names_put<greg_facet_config, charT> facet_def; in operator <<()
56 typedef boost::date_time::ostream_date_formatter<date, facet_def, charT> greg_ostream_formatter; in operator <<()
71 typedef boost::date_time::date_names_put<greg_facet_config, charT> facet_def; in operator <<()
72 typedef boost::date_time::ostream_month_formatter<facet_def, charT> greg_month_formatter; in operator <<()
97 typedef boost::date_time::date_names_put<greg_facet_config, charT> facet_def; in operator <<()
98 …typedef boost::date_time::ostream_weekday_formatter<greg_weekday, facet_def, charT> greg_weekday_f… in operator <<()
245 dp = date_time::from_simple_string_type<date>(s); in operator >>()
[all …]
/third_party/boost/libs/date_time/test/posix_time/
Dtestdst_rules.cpp20 typedef boost::date_time::partial_date<boost::gregorian::date> start_rule_functor;
21 typedef boost::date_time::partial_date<boost::gregorian::date> end_rule_functor;
23 static month_type start_month(year_type) {return boost::date_time::Oct;} in start_month()
25 static month_type end_month(year_type) {return boost::date_time::Mar;} in end_month()
58 typedef boost::date_time::us_dst_rules<date, time_duration, 120, 60> us_dst_local; in main()
76 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()
[all …]
Dtestlocal_adjustor.cpp22 typedef boost::date_time::utc_adjustment<time_duration,-5> us_eastern_offset_adj; in main()
24 typedef boost::date_time::static_local_time_adjustor<ptime, in main()
52 us_eastern::local_to_utc_offset(t11, boost::date_time::is_dst) == hours(4)); in main()
54 us_eastern::local_to_utc_offset(t11, boost::date_time::not_dst) == hours(5)); in main()
66 us_eastern::local_to_utc_offset(l_in_dst, boost::date_time::is_dst) == hours(4)); in main()
75 us_eastern::local_to_utc_offset(dst_end, boost::date_time::is_dst) == hours(4)); in main()
77 us_eastern::local_to_utc_offset(dst_end, boost::date_time::not_dst) == hours(5)); in main()
93 typedef boost::date_time::utc_adjustment<time_duration,-7> us_az_offset_adj; in main()
94 typedef boost::date_time::null_dst_rules<date, time_duration> us_az_dst_adj; in main()
96 typedef boost::date_time::static_local_time_adjustor<ptime, in main()
[all …]
Dtestparse_time.cpp25 time_duration td2= boost::date_time::parse_delimited_time_duration<time_duration>(s2); in main()
29 time_duration td3= boost::date_time::parse_delimited_time_duration<time_duration>(s3); in main()
33 time_duration td4= boost::date_time::parse_delimited_time_duration<time_duration>(s4); in main()
37 time_duration td5= boost::date_time::parse_delimited_time_duration<time_duration>(s5); in main()
41 time_duration td5b= boost::date_time::parse_delimited_time_duration<time_duration>(s5b); in main()
46 time_duration td6b= boost::date_time::parse_delimited_time_duration<time_duration>(s6b); in main()
51 time_duration td7b= boost::date_time::parse_delimited_time_duration<time_duration>(s7b); in main()
56 time_duration td8b= boost::date_time::parse_delimited_time_duration<time_duration>(s8b); in main()
63 time_duration td3= boost::date_time::parse_delimited_time_duration<time_duration>(s3); in main()
67 time_duration td4= boost::date_time::parse_delimited_time_duration<time_duration>(s4); in main()
[all …]
/third_party/boost/boost/locale/
Ddate_time.hpp563 friend class date_time;
590 class BOOST_LOCALE_DECL date_time { class
598 date_time();
602 date_time(date_time const &other);
606 date_time(date_time const &other,date_time_period_set const &set);
610 date_time const &operator=(date_time const &other);
611 ~date_time();
618 date_time(double time);
622 date_time(double time,calendar const &cal);
626 date_time(calendar const &cal);
[all …]
/third_party/boost/boost/date_time/local_time/
Dlocal_time_types.hpp23 typedef boost::date_time::period<local_date_time,
26 typedef date_time::time_itr<local_date_time> local_time_iterator;
28 typedef date_time::second_clock<local_date_time> local_sec_clock;
29 typedef date_time::microsec_clock<local_date_time> local_microsec_clock;
31 typedef date_time::time_zone_base<posix_time::ptime, char> time_zone;
32 typedef date_time::time_zone_base<posix_time::ptime, wchar_t> wtime_zone;
38 typedef date_time::time_zone_names_base<char> time_zone_names;
39 typedef date_time::time_zone_names_base<wchar_t> wtime_zone_names;
42 using date_time::special_values;
43 using date_time::not_special;
[all …]
Ddst_transition_day_rules.hpp19 typedef date_time::dst_day_calc_rule<gregorian::date> dst_calc_rule;
29 typedef date_time::day_calc_dst_rule<partial_date_rule_spec> partial_date_dst_rule;
39 typedef date_time::day_calc_dst_rule<first_last_rule_spec> first_last_dst_rule;
49 typedef date_time::day_calc_dst_rule<last_last_rule_spec> last_last_dst_rule;
59 typedef date_time::day_calc_dst_rule<nth_last_rule_spec> nth_last_dst_rule;
69 typedef date_time::day_calc_dst_rule<nth_kday_rule_spec> nth_kday_dst_rule;
71 typedef date_time::day_calc_dst_rule<nth_kday_rule_spec> nth_day_of_the_week_in_month_dst_rule;
Dlocal_date_time.hpp48 using date_time::time_is_dst_result;
49 using date_time::is_in_dst;
50 using date_time::is_not_in_dst;
51 using date_time::ambiguous;
52 using date_time::invalid_time_label;
64 class tz_type=date_time::time_zone_base<utc_time_,char> >
65 class BOOST_SYMBOL_VISIBLE local_date_time_base : public date_time::base_time<utc_time_,
84 date_time::base_time<utc_time_type, time_system_type>(t), in local_date_time_base()
105date_time::base_time<utc_time_type,time_system_type>(construction_adjustment(utc_time_type(d, td),… in local_date_time_base()
147 date_time::base_time<utc_time_type,time_system_type>(utc_time_type(d,td)), in local_date_time_base()
[all …]
/third_party/boost/boost/date_time/posix_time/
Dptime.hpp21 using date_time::special_values;
22 using date_time::not_special;
23 using date_time::neg_infin;
24 using date_time::pos_infin;
25 using date_time::not_a_date_time;
26 using date_time::max_date_time;
27 using date_time::min_date_time;
32 class BOOST_SYMBOL_VISIBLE ptime : public date_time::base_time<ptime, posix_time_system>
42 date_time::base_time<time_type,time_system_type>(d,td) in ptime()
47 date_time::base_time<time_type,time_system_type>(d,time_duration_type(0,0,0)) in ptime()
[all …]
Dposix_time_config.hpp29 …typedef date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl,…
34 typedef date_time::time_resolution_traits<
35 boost::date_time::time_resolution_traits_adapted64_impl, boost::date_time::micro,
45 public date_time::time_duration<time_duration, time_res_traits>
60 date_time::time_duration<time_duration, time_res_traits>(hour,min,sec,fs) in time_duration()
63 date_time::time_duration<time_duration, time_res_traits>(0,0,0) in time_duration()
66 BOOST_CXX14_CONSTEXPR time_duration(boost::date_time::special_values sv) : in time_duration()
67 date_time::time_duration<time_duration, time_res_traits>(sv) in time_duration()
70 friend class date_time::time_duration<time_duration, time_res_traits>;
73 date_time::time_duration<time_duration, time_res_traits>(tick_count) in time_duration()
Dtime_formatters_limited.hpp54 << date_time::absolute_value(td.hours()) << ":"; in to_simple_string()
56 << date_time::absolute_value(td.minutes()) << ":"; in to_simple_string()
58 << date_time::absolute_value(td.seconds()); in to_simple_string()
62 date_time::absolute_value(td.fractional_seconds()); in to_simple_string()
68 date_time::absolute_value(td.fractional_seconds()); in to_simple_string()
117 << date_time::absolute_value(td.hours()); in to_iso_string()
119 << date_time::absolute_value(td.minutes()); in to_iso_string()
121 << date_time::absolute_value(td.seconds()); in to_iso_string()
125 date_time::absolute_value(td.fractional_seconds()); in to_iso_string()
131 date_time::absolute_value(td.fractional_seconds()); in to_iso_string()
Dposix_time_duration.hpp67 typedef date_time::subsecond_duration<time_duration,1000> millisec;
68 typedef date_time::subsecond_duration<time_duration,1000> milliseconds;
73 typedef date_time::subsecond_duration<time_duration,1000000> microsec;
74 typedef date_time::subsecond_duration<time_duration,1000000> microseconds;
82 typedef date_time::subsecond_duration<time_duration,1000000000> nanosec;
83 typedef date_time::subsecond_duration<time_duration,1000000000> nanoseconds;
/third_party/boost/libs/date_time/
DREADME.md16date_time/tree/master) | [![Build Status](https://travis-ci.org/boostorg/date_time.svg?branch=mast…
17date_time/tree/develop) | [![Build Status](https://travis-ci.org/boostorg/date_time.svg?branch=dev…
34 * [Ask questions](http://stackoverflow.com/questions/ask?tags=c%2B%2B,boost,boost-date_time): Be su…
35 * [Report bugs](https://github.com/boostorg/date_time/issues): Be sure to mention Boost version, pl…
36 * [Submit Pull Requests](https://github.com/boostorg/date_time/pulls) against the **develop** branc…
37 …ttp://www.boost.org/community/policy.html) before posting and add the `[date_time]` tag at the beg…
/third_party/boost/libs/date_time/xmldoc/
DJamfile.v212 boostbook date_time : date_time.xml
26 local date_time_files = [ glob ../../../boost/date_time/*.hpp ] ;
29 # [ glob ../../../boost/date_time/*.hpp ] :
30 # [ glob ../../../boost/date_time/testfrmwk.hpp
31 # # ../../../boost/date_time/time_zone_base.hpp
32 # # ../../../boost/date_time/time_zone_names.hpp
33 # # ../../../boost/date_time/tz_db_base.hpp
34 # # ../../../boost/date_time/dst_transition_generators.hpp
39 [ glob ../../../boost/date_time/gregorian/*.hpp ] :
40 [ glob ../../../boost/date_time/gregorian/event_schedule.hpp ]
[all …]
/third_party/boost/libs/locale/doc/
Ddates_times_timezones.txt18 …the Gregorian calendar. \c boost::date_time , \c std::tm , and standard functions like \c localtim…
26 Boost.Locale provides generic \ref boost::locale::date_time "date_time", and \ref boost::locale::ca…
30 Unlike \c boost::date_time, they are fully aware of the local first day of week. Thus,
37 - \ref boost::locale::date_time -- represents a time point. It is constructed from a calendar and …
40 \ref boost::locale::date_time "date_time" objects.
47 date_time now; // Create date_time class with default calendar initialized to current time
48 date_time tomorrow = now + period::day();
50 date_time some_point = period::year(1995) + period::january() + period::day(1);
59 date_time now;
67 date_time now;
[all …]
/third_party/boost/boost/date_time/
Dlocal_timezone_defs.hpp15 namespace date_time { namespace
59 typedef date_time::nth_kday_of_month<date_type> start_rule_functor;
60 typedef date_time::first_kday_of_month<date_type> end_rule_functor;
61 typedef date_time::first_kday_of_month<date_type> start_rule_functor_pre2007;
62 typedef date_time::last_kday_of_month<date_type> end_rule_functor_pre2007;
118 typedef date_time::last_kday_of_month<date_type> start_rule_functor;
119 typedef date_time::last_kday_of_month<date_type> end_rule_functor;
162 typedef date_time::last_kday_of_month<date_type> start_rule_functor;
163 typedef date_time::last_kday_of_month<date_type> end_rule_functor;
/third_party/boost/libs/date_time/test/
Dtestint_adapter.cpp65 check("as_special convert", boost::date_time::neg_infin == i.as_special() ); in test_int()
66 check("as_special convert", boost::date_time::neg_infin == int_type::to_special(i.as_number()) ); in test_int()
70 check("as_special convert", boost::date_time::pos_infin == i.as_special() ); in test_int()
91 check("as_special convert", boost::date_time::not_special == k.as_special() ); in test_int()
119 check("as_special convert", boost::date_time::not_a_date_time == i.as_special() ); in test_int()
131 int_type::from_special(boost::date_time::pos_infin) == int_type::pos_infinity()); in test_int()
133 int_type::from_special(boost::date_time::neg_infin) == int_type::neg_infinity()); in test_int()
135 int_type::from_special(boost::date_time::not_a_date_time) == int_type::not_a_number()); in test_int()
137 int_type::from_special(boost::date_time::min_date_time) == (int_type::min)()); in test_int()
139 int_type::from_special(boost::date_time::max_date_time) == (int_type::max)()); in test_int()
[all …]

123456789