/third_party/boost/libs/date_time/test/gregorian/ |
D | testperiod.cpp | 18 date_period p1(d1,d2); in main() 19 date_period p2(d1,date_duration(3)); in main() 27 date_period p3(date(2000,Jan,4),date(2000,Feb,1)); in main() 35 date_period p4(date(1999,Dec,1), d2); in main() 38 date_period p5(date(1999,Dec,1), date(2000,Dec,31)); in main() 41 date_period p6(date(2000,Jan,1),date(2000,Dec,31)); in main() 49 date_period shifted(date(2000,Jan,5),date(2000,Jan,8)); in main() 55 date_period p10(date(2000,Jan,5),date(2000,Jan,8)); in main() 57 check("expand", p10 == date_period(date(2000,Jan,3),date(2000,Jan,10))); in main() 60 date_period i1(date(2000,Jan,5), date(2000,Jan,10)); in main() [all …]
|
D | testdate_input_facet.cpp | 254 date_period dp(date(2000,Jan,1), days(1)); in main() 258 check_equal("Default period (closed range)", dp, date_period(begin,len)); in main() 265 date_period dpx(d2, dx); // date/nadt in main() 266 date_period dp2(dx, dx); // nadt/nadt in main() 267 date_period dp3(d3, d4); in main() 282 check_equal("Open range period", dp, date_period(begin,len)); in main() 288 check_equal("Open range period - custom delimiters", dp, date_period(begin,len)); in main() 293 check_equal("Closed range period - custom delimiters", dp, date_period(begin,len)); in main()
|
D | testformatters.cpp | 45 date_period p1(date(2000,Jan,1), date(2001,Jan,1)); in main() 48 date_period p2(date(2000,Jan,1), date(pos_infin)); in main()
|
D | testgreg_wstream.cpp | 26 date_period dp(date(2003,Aug,21), date(2004,May,27)); in main() 107 date_period testperiod(date(2003,Aug,21), date(2004,May,27)); in main()
|
D | testgreg_serialize.cpp | 33 date_period dp(d,dd); in main() 109 date_period dp2(date(2000,Jan,1),date_duration(1)); in main()
|
D | testdate_facet_new.cpp | 99 date_period dp(d, d + days(7)); in main() 111 date_period dp(d, d + days(7)); in main() 309 date_period dp(d, d + days(7)); in main()
|
D | testfacet.cpp | 211 date_period dp(d1, date_duration(3)); in main()
|
/third_party/boost/libs/date_time/example/gregorian/ |
D | period_calc.cpp | 28 typedef std::set<boost::gregorian::date_period> date_period_set; 35 date_period periods_array[] = in generateExclusion() 36 { date_period(date(2002,Feb,2), date(2002,Feb,4)),//weekend of 2nd-3rd in generateExclusion() 37 date_period(date(2002,Feb,9), date(2002,Feb,11)), in generateExclusion() 38 date_period(date(2002,Feb,16), date(2002,Feb,18)), in generateExclusion() 39 date_period(date(2002,Feb,23), date(2002,Feb,25)), in generateExclusion() 40 date_period(date(2002,Feb,12), date(2002,Feb,13))//a random holiday 2-12 in generateExclusion() 42 const int num_periods = sizeof(periods_array)/sizeof(date_period); in generateExclusion()
|
/third_party/boost/boost/date_time/gregorian/ |
D | formatters.hpp | 46 inline std::basic_string<charT> to_simple_string_type(const date_period& d) { in to_simple_string_type() 57 inline std::string to_simple_string(const date_period& d) { in to_simple_string() 63 inline std::basic_string<charT> to_iso_string_type(const date_period& d) { in to_iso_string_type() 71 inline std::string to_iso_string(const date_period& d) { in to_iso_string() 126 inline std::wstring to_simple_wstring(const date_period& d) { in to_simple_wstring() 138 inline std::wstring to_iso_wstring(const date_period& d) { in to_iso_wstring()
|
D | greg_serialize.hpp | 42 BOOST_DATE_TIME_SPLIT_FREE(::boost::gregorian::date_period) in BOOST_DATE_TIME_SPLIT_FREE() 166 void save(Archive & ar, const gregorian::date_period& dp, in save() 179 void load(Archive & ar, gregorian::date_period& dp, unsigned int /*version*/) in load() 185 dp = gregorian::date_period(d1,d2); in load() 189 inline void load_construct_data(Archive & /*ar*/, gregorian::date_period* dp, in load_construct_data() 194 ::new(dp) gregorian::date_period(d,dd); in load_construct_data()
|
D | parsers.hpp | 97 inline date_period date_period_from_string(const std::string& s){ in date_period_from_string() 102 inline date_period date_period_from_wstring(const std::wstring& s){ in date_period_from_wstring()
|
D | formatters_limited.hpp | 31 inline std::string to_simple_string(const date_period& d) { in to_simple_string() 41 inline std::string to_iso_string(const date_period& d) { in to_iso_string()
|
D | gregorian_types.hpp | 41 typedef date_time::period<date, date_duration> date_period; typedef
|
D | greg_facet.hpp | 120 operator<<(std::basic_ostream<charT, traits>& os, const date_period& dp) in operator <<() 241 date_period& dp) in operator >>()
|
D | gregorian_io.hpp | 172 operator<<(std::basic_ostream<CharT, TraitsT>& os, const boost::gregorian::date_period& dp) { in operator <<() 199 operator>>(std::basic_istream<CharT, Traits>& is, date_period& dp) in operator >>()
|
/third_party/boost/boost/log/utility/type_dispatch/ |
D | date_time_types.hpp | 75 …oost::posix_time::time_period)(boost::local_time::local_time_period)(boost::gregorian::date_period)
|
/third_party/boost/libs/date_time/example/tutorial/ |
D | io_tutorial.cpp | 138 date_period dp(date(2005,Mar,1), days(31)); // month of march in main()
|
/third_party/boost/libs/date_time/test/posix_time/ |
D | testtime_facet.cpp | 52 date_period dp(d, d + date_duration(7)); in main()
|