Home
last modified time | relevance | path

Searched refs:day_of_week (Results 1 – 25 of 32) sorted by relevance

12

/third_party/boost/libs/date_time/test/gregorian/
Dtestgreg_cal.cpp18 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 …check("Day of week 2000-09-30 == 6 (Sat)", gregorian_calendar::day_of_week(gregorian_calendar::ymd… in test_greg_calendar()
31 …check("Day of week 1953-08-02 == 0 (Sun)", gregorian_calendar::day_of_week(gregorian_calendar::ymd… in test_greg_calendar()
32 …check("Day of week 1953-08-03 == 1 (Mon)", gregorian_calendar::day_of_week(gregorian_calendar::ymd… in test_greg_calendar()
33 …check("Day of week 1953-08-04 == 2 (Tue)", gregorian_calendar::day_of_week(gregorian_calendar::ymd… in test_greg_calendar()
[all …]
Dtestgreg_wstream.cpp76 wss << dp.begin().day_of_week(); in main()
80 ws = dp.begin().day_of_week().as_short_wstring(); in main()
82 ws = dp.begin().day_of_week().as_long_wstring(); in main()
Dtestdate_facet_new.cpp261 teststreaming("Literal '%' in weekday format", d.day_of_week(), in main()
268 teststreaming("Multiple literal '%'s in weekday format", d.day_of_week(), in main()
Dtestdate_input_facet.cpp566 check_equal("Short custom names, set via accessor function", dx.day_of_week(), greg_weekday(6)); in main()
572 check_equal("Long custom names, set via accessor function", dx.day_of_week(), greg_weekday(0)); in main()
/third_party/boost/libs/date_time/test/
Dtestgregorian_calendar.cpp25 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/boost/date_time/
Ddate_generators.hpp209 while (dow_ != d.day_of_week()) { in get_date()
232 day_of_week_type day_of_week() const in day_of_week() function in boost::date_time::nth_kday_of_month
283 while (dow_ != d.day_of_week()) { in get_date()
293 day_of_week_type day_of_week() const in day_of_week() function in boost::date_time::first_kday_of_month
344 while (dow_ != d.day_of_week()) { in get_date()
354 day_of_week_type day_of_week() const in day_of_week() function in boost::date_time::last_kday_of_month
399 while (dow_ != d.day_of_week()) { in get_date()
405 day_of_week_type day_of_week() const in day_of_week() function in boost::date_time::first_kday_after
437 while (dow_ != d.day_of_week()) { in get_date()
443 day_of_week_type day_of_week() const in day_of_week() function in boost::date_time::first_kday_before
[all …]
Ddate_generator_formatter.hpp146 facet.put(next, a_ios, a_fill, nkd.day_of_week()); in put_nth_kday()
162 facet.put(next, a_ios, a_fill, fkd.day_of_week()); in put_first_kday()
178 facet.put(next, a_ios, a_fill, lkd.day_of_week()); in put_last_kday()
192 facet.put(next, a_ios, a_fill, fkb.day_of_week()); in put_kday_before()
204 facet.put(next, a_ios, a_fill, fka.day_of_week()); in put_kday_after()
Ddate.hpp93 BOOST_CXX14_CONSTEXPR day_of_week_type day_of_week() const in day_of_week() function in boost::date_time::date
96 return calendar::day_of_week(ymd); in day_of_week()
Dgregorian_calendar.hpp43 static BOOST_CXX14_CONSTEXPR unsigned short day_of_week(const ymd_type& ymd);
/third_party/boost/boost/locale/
Ddate_time.hpp112 inline period_type day_of_week(){ return period_type(marks::day_of_week); } in day_of_week() function
187 … inline date_time_period day_of_week(int v) { return date_time_period(day_of_week(),v); } in day_of_week() function
282 inline date_time_period sunday() { return date_time_period(day_of_week(),1); } in sunday()
286 inline date_time_period monday() { return date_time_period(day_of_week(),2); } in monday()
290 inline date_time_period tuesday() { return date_time_period(day_of_week(),3); } in tuesday()
294 inline date_time_period wednesday() { return date_time_period(day_of_week(),4); } in wednesday()
298 inline date_time_period thursday() { return date_time_period(day_of_week(),5); } in thursday()
302 inline date_time_period friday() { return date_time_period(day_of_week(),6); } in friday()
306 inline date_time_period saturday() { return date_time_period(day_of_week(),7); } in saturday()
1017 inline int day_of_week(date_time const &dt) { return dt.get(day_of_week()); } in day_of_week() function
[all …]
Ddate_time_facet.hpp39day_of_week, ///< Day of week, Sunday=1, Monday=2,..., Saturday=7. enumerator
/third_party/cef/libcef/common/
Dtime_impl.cc30 exploded.day_of_week = cef_time.day_of_week; in cef_time_to_basetime()
50 cef_time.day_of_week = exploded.day_of_week; in cef_time_from_basetime()
/third_party/boost/boost/date_time/gregorian/
Dgreg_facet.hpp160 << nkd.day_of_week() << " of " in operator <<()
172 os << "first " << fkd.day_of_week() << " of " in operator <<()
184 os << "last " << lkd.day_of_week() << " of " in operator <<()
196 os << fka.day_of_week() << " after"; in operator <<()
207 os << fkb.day_of_week() << " before"; in operator <<()
Dgreg_serialize.hpp352 typename gregorian::nth_kday_of_month::day_of_week_type d(nkd.day_of_week().as_number()); in save()
395 typename gregorian::first_kday_of_month::day_of_week_type d(fkd.day_of_week().as_number()); in save()
434 typename gregorian::last_kday_of_month::day_of_week_type d(lkd.day_of_week().as_number()); in save()
470 typename gregorian::first_kday_before::day_of_week_type d(fkdb.day_of_week().as_number()); in save()
499 typename gregorian::first_kday_after::day_of_week_type d(fkda.day_of_week().as_number()); in save()
Dconversion.hpp51 datetm.tm_wday = d.day_of_week(); in to_tm()
/third_party/boost/libs/date_time/example/gregorian/
Dprint_holidays.cpp26 std::cout << to_simple_string(d) << " [" << d.day_of_week() << "]\n"; in print_date()
28 std::cout << d << " [" << d.day_of_week() << "]\n"; in print_date()
Dprint_month.cpp45 << ditr->day_of_week() << " week: " in main()
Ddates_as_strings.cpp35 greg_weekday wd = d1.day_of_week(); in main()
Dlocalization.cpp42 greg_weekday wd = d1.day_of_week(); in main()
/third_party/python/Lib/
D_strptime.py272 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): argument
282 day_of_week = (day_of_week + 1) % 7
287 return 1 + day_of_week - first_weekday
290 return 1 + days_to_week + day_of_week
/third_party/cef/include/internal/
Dcef_time.h48 int day_of_week; // 0-based day of week (0 = Sunday, etc.) member
/third_party/boost/libs/locale/src/util/
Dgregorian.cpp202 case day_of_week: ///< Day of week, starting from Sunday, [1..7] in set_value()
380 case day_of_week: ///< Day of week, starting from Sunday, [1..7] in get_value()
622 … case day_of_week: ///< Day of week, starting from Sunday, [1..7] in adjust_value()
729 case day_of_week: in difference()
/third_party/boost/libs/locale/test/
Dtest_date_time.cpp181 TEST(time_point.get(day_of_week()) == 5); in main()
186 TEST(time_point.get(day_of_week()) == 5); in main()
189 time_point = day_of_week() * 1; in main()
/third_party/boost/libs/locale/examples/
Dcalendar.cpp53 date_time tmp(now,period::day_of_week() * (first + i)); in main()
/third_party/boost/libs/icl/example/month_and_week_grid_/
Dmonth_and_week_grid.cpp103 else if(first(*it).day_of_week()==greg_weekday(Monday)) in month_and_time_grid()

12