/third_party/boost/libs/date_time/test/ |
D | testgregorian_calendar.cpp | 25 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,24))==0); in main() 27 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,25))==1); in main() 29 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,26))==2); in main() 31 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,27))==3); in main() 33 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,28))==4); in main() 35 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,29))==5); in main() 37 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,30))==6); in main() 40 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(1953,8,2))==0); in main() 42 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(1953,8,3))==1); in main() 44 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(1953,8,4))==2); in main() [all …]
|
/third_party/boost/libs/date_time/test/gregorian/ |
D | testgreg_cal.cpp | 18 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,24))==0); in test_greg_calendar() 20 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,25))==1); in test_greg_calendar() 22 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,26))==2); in test_greg_calendar() 24 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,27))==3); in test_greg_calendar() 26 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,28))==4); in test_greg_calendar() 28 gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,29))==5); in test_greg_calendar() 29 …00-09-30 == 6 (Sat)", gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(2000,9,30))==6); in test_greg_calendar() 31 …953-08-02 == 0 (Sun)", gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(1953,8,2))==0); in test_greg_calendar() 32 …953-08-03 == 1 (Mon)", gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(1953,8,3))==1); in test_greg_calendar() 33 …953-08-04 == 2 (Tue)", gregorian_calendar::day_of_week(gregorian_calendar::ymd_type(1953,8,4))==2); in test_greg_calendar() [all …]
|
D | testcurrent_day.cpp | 20 date::ymd_type ymd = day_clock::local_day_ymd(); in main() 29 date::ymd_type ymd2 = day_clock::universal_day_ymd(); in main()
|
D | testdate.cpp | 90 date::ymd_type ymd = d1.year_month_day(); in main()
|
/third_party/boost/boost/date_time/ |
D | gregorian_calendar.hpp | 32 typedef ymd_type_ ymd_type; typedef in boost::date_time::gregorian_calendar_base 34 typedef typename ymd_type::month_type month_type; 36 typedef typename ymd_type::day_type day_type; 38 typedef typename ymd_type::year_type year_type; 43 static BOOST_CXX14_CONSTEXPR unsigned short day_of_week(const ymd_type& ymd); 44 static BOOST_CXX14_CONSTEXPR int week_number(const ymd_type&ymd); 45 static BOOST_CXX14_CONSTEXPR date_int_type day_number(const ymd_type& ymd); 46 static BOOST_CXX14_CONSTEXPR date_int_type julian_day_number(const ymd_type& ymd); 47 static BOOST_CXX14_CONSTEXPR date_int_type modjulian_day_number(const ymd_type& ymd); 48 static BOOST_CXX14_CONSTEXPR ymd_type from_day_number(date_int_type); [all …]
|
D | date_formatting_limited.hpp | 60 template<class ymd_type, class format_type> 73 static std::string ymd_to_string(ymd_type ymd) in ymd_to_string() 75 typedef typename ymd_type::month_type month_type; in ymd_to_string() 101 typedef typename date_type::ymd_type ymd_type; in date_to_string() typedef 111 ymd_type ymd = d.year_month_day(); in date_to_string() 112 return ymd_formatter<ymd_type, format_type>::ymd_to_string(ymd); in date_to_string()
|
D | date_formatting.hpp | 69 template<class ymd_type, class format_type, class charT=char> 82 static std::basic_string<charT> ymd_to_string(ymd_type ymd) in ymd_to_string() 84 typedef typename ymd_type::month_type month_type; in ymd_to_string() 117 typedef typename date_type::ymd_type ymd_type; in date_to_string() typedef 127 ymd_type ymd = d.year_month_day(); in date_to_string() 128 return ymd_formatter<ymd_type, format_type, charT>::ymd_to_string(ymd); in date_to_string()
|
D | date_clock_device.hpp | 28 typedef typename date_type::ymd_type ymd_type; typedef in boost::date_time::day_clock 35 static typename date_type::ymd_type local_day_ymd() in local_day_ymd() 39 return ymd_type(static_cast<unsigned short>(curr->tm_year + 1900), in local_day_ymd() 44 static typename date_type::ymd_type universal_day_ymd() in universal_day_ymd() 48 return ymd_type(static_cast<unsigned short>(curr->tm_year + 1900), in universal_day_ymd()
|
D | date.hpp | 67 typedef typename calendar::ymd_type ymd_type; typedef in boost::date_time::date 72 : days_(calendar::day_number(ymd_type(y, m, d))) in date() 74 BOOST_CXX14_CONSTEXPR date(const ymd_type& ymd) in date() 80 ymd_type ymd = calendar::from_day_number(days_); in year() 85 ymd_type ymd = calendar::from_day_number(days_); in month() 90 ymd_type ymd = calendar::from_day_number(days_); in day() 95 ymd_type ymd = calendar::from_day_number(days_); in day_of_week() 98 BOOST_CXX14_CONSTEXPR ymd_type year_month_day() const in year_month_day()
|
D | adjust_functors.hpp | 54 typedef typename cal_type::ymd_type ymd_type; typedef in boost::date_time::month_functor 60 ymd_type ymd(d.year_month_day()); in get_offset() 71 …const typename ymd_type::year_type year(static_cast<typename ymd_type::year_type::value_type>(ymd.… in get_offset() 89 ymd_type ymd(d.year_month_day()); in get_neg_offset() 100 …const typename ymd_type::year_type year(static_cast<typename ymd_type::year_type::value_type>(ymd.… in get_neg_offset()
|
D | date_formatting_locales.hpp | 102 template<class ymd_type, 108 typedef typename ymd_type::month_type month_type; 132 static void ymd_put(ymd_type ymd, in ymd_put() 191 typedef typename date_type::ymd_type ymd_type; typedef in boost::date_time::ostream_date_formatter 200 ymd_type ymd = d.year_month_day(); in date_put() 201 ostream_ymd_formatter<ymd_type, facet_type, charT>::ymd_put(ymd, os, f); in date_put()
|
D | gregorian_calendar.ipp | 19 gregorian_calendar_base<ymd_type_,date_int_type_>::day_of_week(const ymd_type& ymd) { 38 gregorian_calendar_base<ymd_type_,date_int_type_>::week_number(const ymd_type& ymd) { 39 unsigned long julianbegin = julian_day_number(ymd_type(ymd.year,1,1)); 57 julianbegin = julian_day_number(ymd_type(static_cast<unsigned short>(ymd.year-1),1,1)); 68 //! Convert a ymd_type into a day number 75 gregorian_calendar_base<ymd_type_,date_int_type_>::day_number(const ymd_type& ymd) 91 gregorian_calendar_base<ymd_type_,date_int_type_>::julian_day_number(const ymd_type& ymd) 104 gregorian_calendar_base<ymd_type_,date_int_type_>::modjulian_day_number(const ymd_type& ymd) 127 return ymd_type(static_cast<unsigned short>(year),month,day); 148 return ymd_type(year,month,day); [all …]
|
D | time_system_counted.hpp | 31 typedef typename date_type::ymd_type ymd_type; typedef 64 ymd_type ymd = calendar_type::from_day_number(dc); in date()
|
/third_party/boost/boost/date_time/gregorian/ |
D | greg_date.hpp | 45 typedef gregorian_calendar::ymd_type ymd_type; typedef in boost::gregorian::date 64 BOOST_CXX14_CONSTEXPR explicit date(const ymd_type& ymd) in date() 92 ymd_type ymd = year_month_day(); in julian_day() 105 ymd_type ymd = year_month_day(); in modjulian_day() 111 ymd_type ymd = year_month_day(); in week_number() 122 ymd_type ymd = year_month_day(); in end_of_month()
|
D | conversion.hpp | 47 boost::gregorian::date::ymd_type ymd = d.year_month_day(); in to_tm()
|
D | formatters_limited.hpp | 65 date::ymd_type ymd = d.year_month_day(); in to_sql_string()
|
D | formatters.hpp | 107 date::ymd_type ymd = d.year_month_day(); in to_sql_string_type()
|
/third_party/boost/libs/date_time/example/gregorian/ |
D | days_till_new_year.cpp | 12 date::ymd_type today = day_clock::local_day_ymd(); in main()
|
D | dates_as_strings.cpp | 34 date::ymd_type ymd = d1.year_month_day(); in main()
|
/third_party/boost/boost/log/support/ |
D | date_time.hpp | 56 typedef typename DateT::ymd_type ymd_type; in decompose_date() typedef 57 ymd_type ymd = d.year_month_day(); in decompose_date()
|