Home
last modified time | relevance | path

Searched refs:week_of_year (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/libs/locale/test/
Dtest_date_time.cpp187 TEST(time_point.get(week_of_year()) == 1); in main()
191 TEST(time_point.get(week_of_year()) == 1); in main()
194 TEST(time_point.get(week_of_year()) == 2); in main()
199 TEST(time_point.get(week_of_year()) == 6); in main()
212 TEST(time_point.get(week_of_year()) == 53); in main()
215 TEST(time_point.get(week_of_year()) == 1); in main()
221 TEST(time_point.get(week_of_year()) == 1); in main()
224 TEST(time_point.get(week_of_year()) == 2); in main()
229 TEST(time_point.get(week_of_year()) == 1); in main()
232 TEST(time_point.get(week_of_year()) == 2); in main()
[all …]
/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
286 if week_of_year == 0:
289 days_to_week = week_0_length + (7 * (week_of_year - 1))
363 iso_week = week_of_year = None
439 week_of_year = int(found_dict[group_key])
497 elif week_of_year is None and iso_week is not None:
518 if week_of_year is not None:
520 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
/third_party/boost/boost/locale/
Ddate_time.hpp145 inline period_type week_of_year(){ return period_type(marks::week_of_year); } in week_of_year() function
220 … inline date_time_period week_of_year(int v) { return date_time_period(week_of_year(),v); } in week_of_year() function
1050 inline int week_of_year(date_time const &dt) { return dt.get(week_of_year()); } in week_of_year() function
1119 … inline int week_of_year(date_time_duration const &dt) { return dt.get(week_of_year()); } in week_of_year() function
Ddate_time_facet.hpp52 week_of_year, ///< The week number in the year enumerator
/third_party/boost/libs/locale/src/util/
Dgregorian.cpp213 …case week_of_year: ///< The week number in the year, 4 is the minimal number of days to b… in set_value()
481 case week_of_year: ///< The week number in the year in get_value()
639 case week_of_year: ///< The week number in the year in adjust_value()
724 case week_of_year: in difference()
/third_party/boost/libs/locale/src/icu/
Ddate_time.cpp61 case week_of_year: return UCAL_WEEK_OF_YEAR; in to_icu()