Home
last modified time | relevance | path

Searched refs:date_type (Results 1 – 25 of 40) sorted by relevance

12

/third_party/boost/boost/date_time/
Ddate_generators.hpp31 template<class date_type>
35 typedef typename date_type::calendar_type calendar_type;
39 virtual date_type get_date(year_type y) const = 0;
55 template<class date_type>
56 class partial_date : public year_based_generator<date_type>
59 typedef typename date_type::calendar_type calendar_type;
63 typedef typename date_type::duration_type duration_type;
78 date_type d1(2000,1,1); in partial_date()
101 date_type get_date(year_type y) const BOOST_OVERRIDE in get_date()
108 return date_type(y, month_, day_); in get_date()
[all …]
Ddate_iterator.hpp32 template<class date_type>
38 typedef typename date_type::duration_type duration_type;
39 typedef date_type value_type;
42 date_itr_base(date_type d) : current_(d) {} in date_itr_base()
54 virtual duration_type get_offset(const date_type& current) const=0;
55 virtual duration_type get_neg_offset(const date_type& current) const=0;
56 date_type operator*() {return current_;} in operator *()
57 date_type* operator->() {return &current_;} in operator ->()
58 bool operator< (const date_type& d) {return current_ < d;} in operator <()
59 bool operator<= (const date_type& d) {return current_ <= d;} in operator <=()
[all …]
Dlocal_timezone_defs.hpp53 template<class date_type>
56 typedef typename date_type::day_of_week_type day_of_week_type;
57 typedef typename date_type::month_type month_type;
58 typedef typename date_type::year_type year_type;
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;
75 static date_type local_dst_start_day(year_type year) in local_dst_start_day()
88 static date_type local_dst_end_day(year_type year) in local_dst_end_day()
[all …]
Ddst_rules.hpp35 typedef date_type_ date_type; typedef in boost::date_time::dst_calculator
101 local_is_dst(const date_type& current_day, in local_is_dst()
103 const date_type& dst_start_day, in local_is_dst()
105 const date_type& dst_end_day, in local_is_dst()
137 local_is_dst(const date_type& current_day, in local_is_dst()
139 const date_type& dst_start_day, in local_is_dst()
141 const date_type& dst_end_day, in local_is_dst()
208 template<class date_type,
214 typedef typename date_type::year_type year_type;
215 typedef typename date_type::calendar_type calendar_type;
[all …]
Ddate_facet.hpp46 template <class date_type,
51 typedef typename date_type::duration_type duration_type;
53 typedef typename date_type::day_of_week_type day_of_week_type;
54 typedef typename date_type::day_type day_type;
55 typedef typename date_type::month_type month_type;
56 typedef boost::date_time::period<date_type,duration_type> period_type;
63 typedef date_generator_formatter<date_type, CharT> date_gen_formatter_type;
64 typedef partial_date<date_type> partial_date_type;
65 typedef nth_kday_of_month<date_type> nth_kday_type;
66 typedef first_kday_of_month<date_type> first_kday_type;
[all …]
Dadjust_functors.hpp20 template<class date_type>
24 typedef typename date_type::duration_type duration_type;
26 duration_type get_offset(const date_type&) const in get_offset()
30 duration_type get_neg_offset(const date_type&) const in get_neg_offset()
48 template<class date_type>
52 typedef typename date_type::duration_type duration_type;
53 typedef typename date_type::calendar_type cal_type;
58 duration_type get_offset(const date_type& d) const in get_offset()
78 return date_type(year, wi.as_int(), resultingEndOfMonthDay) - d; in get_offset()
84 return date_type(year, wi.as_int(), dayOfMonth) - d; in get_offset()
[all …]
Ddate_generator_parser.hpp40 template<class date_type, typename charT>
47 typedef typename date_type::month_type month_type;
48 typedef typename date_type::day_of_week_type day_of_week_type;
49 typedef typename date_type::day_type day_type;
55 typedef partial_date<date_type> partial_date_type;
56 typedef nth_kday_of_month<date_type> nth_kday_type;
57 typedef first_kday_of_month<date_type> first_kday_type;
58 typedef last_kday_of_month<date_type> last_kday_type;
59 typedef first_kday_after<date_type> kday_after_type;
60 typedef first_kday_before<date_type> kday_before_type;
[all …]
Ddate_generator_formatter.hpp37 …template <class date_type, class CharT, class OutItrT = std::ostreambuf_iterator<CharT, std::char_…
40 typedef partial_date<date_type> partial_date_type;
41 typedef nth_kday_of_month<date_type> nth_kday_type;
42 typedef first_kday_of_month<date_type> first_kday_type;
43 typedef last_kday_of_month<date_type> last_kday_type;
44 typedef first_kday_after<date_type> kday_after_type;
45 typedef first_kday_before<date_type> kday_before_type;
227 template<class date_type, class CharT, class OutItrT>
228 const typename date_generator_formatter<date_type, CharT, OutItrT>::char_type
229 date_generator_formatter<date_type, CharT, OutItrT>::first_string[6] =
[all …]
Dspecial_values_parser.hpp32 template<class date_type, typename charT>
39 typedef typename date_type::duration_type duration_type;
139 template<class date_type, class CharT>
140 const typename special_values_parser<date_type, CharT>::char_type
141 special_values_parser<date_type, CharT>::nadt_string[16] =
143 template<class date_type, class CharT>
144 const typename special_values_parser<date_type, CharT>::char_type
145 special_values_parser<date_type, CharT>::neg_inf_string[10] =
147 template<class date_type, class CharT>
148 const typename special_values_parser<date_type, CharT>::char_type
[all …]
Ddate_duration_types.hpp46 typedef typename base_config::date_type date_type; typedef in boost::date_time::months_duration
47 typedef typename date_type::duration_type duration_type;
59 BOOST_CXX14_CONSTEXPR duration_type get_neg_offset(const date_type& d) const in get_neg_offset()
64 BOOST_CXX14_CONSTEXPR duration_type get_offset(const date_type& d) const in get_offset()
132 BOOST_CXX14_CONSTEXPR friend date_type operator+(const date_type& d, const months_type& m) in operator +()
136 BOOST_CXX14_CONSTEXPR friend date_type operator+=(date_type& d, const months_type& m) in operator +=()
140 BOOST_CXX14_CONSTEXPR friend date_type operator-(const date_type& d, const months_type& m) in operator -()
145 BOOST_CXX14_CONSTEXPR friend date_type operator-=(date_type& d, const months_type& m) in operator -=()
166 typedef typename base_config::date_type date_type; typedef in boost::date_time::years_duration
167 typedef typename date_type::duration_type duration_type;
[all …]
Ddate_parsing.hpp128 template<class date_type>
129 date_type
142 typedef typename date_type::month_type month_type; in parse_date()
179 return date_type(year, month, day); in parse_date()
183 template<class date_type>
184 date_type
212 return date_type(y,m,d); in parse_undelimited_date()
219 template<class date_type, class iterator_type>
221 date_type
230 return parse_date<date_type>(ss.str()); in from_stream_type()
[all …]
Ddst_transition_generators.hpp16 template<class date_type>
20 typedef typename date_type::year_type year_type;
22 virtual date_type start_day(year_type y) const=0;
24 virtual date_type end_day(year_type y) const=0;
37 class day_calc_dst_rule : public dst_day_calc_rule<typename spec::date_type>
40 typedef typename spec::date_type date_type; typedef in boost::date_time::day_calc_dst_rule
41 typedef typename date_type::year_type year_type;
49 virtual date_type start_day(year_type y) const in start_day()
57 virtual date_type end_day(year_type y) const in end_day()
Dtime_system_counted.hpp27 typedef typename config::date_type date_type; typedef
29 typedef typename date_type::duration_type date_duration_type;
30 typedef typename date_type::calendar_type calendar_type;
31 typedef typename date_type::ymd_type ymd_type;
36 counted_time_rep(const date_type& d, const time_duration_type& time_of_day) in counted_time_rep()
56 date_type date() const in date()
59 return date_type(time_count_.as_special()); in date()
65 return date_type(ymd); in date()
133 typedef typename time_rep_type::date_type date_type; typedef in boost::date_time::counted_time_system
140 time_rep_type get_time_rep(const date_type& day, in get_time_rep()
[all …]
Dtime_system_split.hpp33 typedef typename config::date_type date_type; typedef in boost::date_time::split_timedate_system
59 return time_rep_type(date_type(not_a_date_time), in get_time_rep()
62 return time_rep_type(date_type(pos_infin), in get_time_rep()
65 return time_rep_type(date_type(neg_infin), in get_time_rep()
69 return time_rep_type(date_type(max_date_time), td); in get_time_rep()
72 return time_rep_type(date_type(min_date_time), time_duration_type(0,0,0,0)); in get_time_rep()
75 return time_rep_type(date_type(not_a_date_time), in get_time_rep()
84 time_rep_type get_time_rep(const date_type& day, in get_time_rep()
90 return time_rep_type(date_type(not_a_date_time), in get_time_rep()
95 return time_rep_type(date_type(not_a_date_time), in get_time_rep()
[all …]
Ddate.hpp60 typedef T date_type; typedef in boost::date_time::date
102 BOOST_CONSTEXPR bool operator<(const date_type& rhs) const in operator <()
106 BOOST_CONSTEXPR bool operator==(const date_type& rhs) const in operator ==()
140 BOOST_CXX14_CONSTEXPR duration_type operator-(const date_type& d) const in operator -()
157 BOOST_CXX14_CONSTEXPR date_type operator-(const duration_type& dd) const in operator -()
161 return date_type(date_rep_type(days_) - dd.get_rep()); in operator -()
163 return date_type(date_rep_type(days_) - static_cast<date_int_type>(dd.days())); in operator -()
165 BOOST_CXX14_CONSTEXPR date_type operator-=(const duration_type& dd) in operator -=()
168 return date_type(days_); in operator -=()
175 BOOST_CXX14_CONSTEXPR date_type operator+(const duration_type& dd) const in operator +()
[all …]
Dperiod_parser.hpp40 template<class date_type, typename CharT>
179 template <class date_type, class char_type>
180 const typename period_parser<date_type, char_type>::char_type
181 period_parser<date_type, char_type>::default_period_separator[2] = {'/'};
183 template <class date_type, class char_type>
184 const typename period_parser<date_type, char_type>::char_type
185 period_parser<date_type, char_type>::default_period_start_delimeter[2] = {'['};
187 template <class date_type, class char_type>
188 const typename period_parser<date_type, char_type>::char_type
189 period_parser<date_type, char_type>::default_period_open_range_end_delimeter[2] = {')'};
[all …]
Ddate_clock_device.hpp24 template<class date_type>
28 typedef typename date_type::ymd_type ymd_type;
30 static date_type local_day() in local_day()
32 return date_type(local_day_ymd()); in local_day()
35 static typename date_type::ymd_type local_day_ymd() in local_day_ymd()
44 static typename date_type::ymd_type universal_day_ymd() in universal_day_ymd()
53 static date_type universal_day() in universal_day()
55 return date_type(universal_day_ymd()); in universal_day()
Dformat_date_parser.hpp150 template<class date_type, typename charT>
158 typedef typename date_type::year_type year_type;
159 typedef typename date_type::month_type month_type;
160 typedef typename date_type::day_type day_type;
161 typedef typename date_type::duration_type duration_type;
162 typedef typename date_type::day_of_week_type day_of_week_type;
163 typedef typename date_type::day_of_year_type day_of_year_type;
191 format_date_parser(const format_date_parser<date_type,charT>& fdp) in format_date_parser() argument
227 date_type
230 const special_values_parser<date_type,charT>& sv_parser) const in parse_date() argument
[all …]
Dc_local_time_adjustor.hpp33 typedef typename time_type::date_type date_type; typedef in boost::date_time::c_local_adjustor
34 typedef typename date_type::duration_type date_duration_type;
38 date_type time_t_start_day(1970,1,1); in utc_to_local()
54 date_type d(static_cast<unsigned short>(tms_ptr->tm_year + 1900), in utc_to_local()
Dlocal_time_adjustor.hpp53 typedef typename time_type::date_type date_type; typedef in boost::date_time::dynamic_local_time_adjustor
83 typedef typename time_type::date_type date_type; typedef in boost::date_time::static_local_time_adjustor
193 typedef typename time_type::date_type date_type; typedef in boost::date_time::local_adjustor
Dmicrosec_time_clock.hpp48 typedef typename time_type::date_type date_type; typedef in boost::date_time::microsec_clock
112date_type d(static_cast< typename date_type::year_type::value_type >(curr_ptr->tm_year + 1900), in create_time()
113 static_cast< typename date_type::month_type::value_type >(curr_ptr->tm_mon + 1), in create_time()
114 static_cast< typename date_type::day_type::value_type >(curr_ptr->tm_mday)); in create_time()
Dtime_parsing.hpp172 typedef typename time_type::date_type date_type; in parse_delimited_time() typedef
178 date_type d = parse_date<date_type>(date_string); in parse_delimited_time()
305 typedef typename time_type::date_type date_type; in parse_iso_time() typedef
306 typedef special_values_parser<date_type, std::string::value_type> svp_type; in parse_iso_time()
330 date_type d = parse_undelimited_date<date_type>(date_string); in parse_iso_time()
Dfiletime_functions.hpp45 typedef typename TimeT::date_type date_type; in time_from_ftime() typedef
76 date_type d = date_type(1601, Jan, 01) + dd; in time_from_ftime()
/third_party/boost/boost/date_time/local_time/
Ddst_transition_day_rules.hpp23 typedef gregorian::date date_type; typedef
33 typedef gregorian::date date_type; typedef
43 typedef gregorian::date date_type; typedef
53 typedef gregorian::date date_type; typedef
63 typedef gregorian::date date_type; typedef
/third_party/boost/boost/date_time/posix_time/
Dposix_time_config.hpp82 typedef gregorian::date date_type; typedef
84 BOOST_CXX14_CONSTEXPR simple_time_rep(date_type d, time_duration_type tod) : in simple_time_rep()
92 day += date_type::duration_type(1); in simple_time_rep()
98 day -= date_type::duration_type(1); in simple_time_rep()
104 date_type day;
128 typedef gregorian::date date_type; typedef in boost::posix_time::posix_time_system_config
146 typedef gregorian::date date_type; typedef in boost::posix_time::millisec_posix_time_system_config

12